mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
updates for gen-C++ maintenance, including skipping some inappropriate tests
This commit is contained in:
parent
c034dc68ed
commit
7a41170a59
36 changed files with 200 additions and 53 deletions
|
@ -1,11 +1,22 @@
|
|||
#! /bin/sh
|
||||
|
||||
rm -f CPP-gen.cc
|
||||
|
||||
cp zeek.HOLD src/zeek || (
|
||||
echo Need to create clean zeek.HOLD
|
||||
exit 1
|
||||
) || exit 1
|
||||
|
||||
if [ "$1" == "-U" ]; then
|
||||
btest_opt=-U
|
||||
shift
|
||||
elif [ "$1" == "-d" ]; then
|
||||
btest_opt=-d
|
||||
shift
|
||||
else
|
||||
btest_opt=-d
|
||||
fi
|
||||
|
||||
base=$(echo $1 | sed 's,\.\./,,;s,/,#,g')
|
||||
rel_test=$(echo $1 | sed 's,.*testing/btest/,,')
|
||||
|
||||
|
@ -26,5 +37,5 @@ ninja
|
|||
|
||||
(
|
||||
cd ../testing/btest
|
||||
../../auxil/btest/btest -a cpp -d -f ../../build/CPP-test/diag.$base $rel_test
|
||||
../../auxil/btest/btest -a cpp $btest_opt -f ../../build/CPP-test/diag.$base $rel_test
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue