updated notes regarding "-O gen-C++" maintenance

This commit is contained in:
Vern Paxson 2023-08-16 17:08:04 -07:00
parent 81a9745fb3
commit 1473149579

View file

@ -17,6 +17,15 @@ The maintenance workflow:
ninja ninja
src/zeek -O use-C++ -r some.pcap src/zeek -O use-C++ -r some.pcap
and that it can compile them standalone:
rm CPP-gen.cc
ninja
echo | src/zeek -O gen-standalone-C++
ninja
rm CPP-gen.cc
ninja
Do this first because if it can't, you'll be making changes to the Do this first because if it can't, you'll be making changes to the
compiler that you'll want to subsequent run against the test suite, compiler that you'll want to subsequent run against the test suite,
per the following. per the following.
@ -62,11 +71,7 @@ The maintenance workflow:
(which is Baseline.cpp). (which is Baseline.cpp).
FYI: FYI:
There are two tests that in the past have demonstrated possible Tests that have demonstrated variations/failures due to presumed
variations due to presumed race conditions: race conditions:
../testing/btest/scripts/base/utils/active-http.test ../testing/btest/scripts/base/utils/active-http.test
../testing/btest/supervisor/revive-leaf.zeek
These haven't shown up in a while, as of May 2023, so we can remove
the above if they continue to not show up.