From 9722b4216f8ecdeaf50f8d7eaef16dcb1585f28c Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Mon, 16 Aug 2021 13:30:20 -0700 Subject: [PATCH] new "-a ZAM" testing baseline alternative --- testing/btest/btest.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testing/btest/btest.cfg b/testing/btest/btest.cfg index 66a83dc85e..1e16baa790 100644 --- a/testing/btest/btest.cfg +++ b/testing/btest/btest.cfg @@ -89,3 +89,13 @@ BTEST_BASELINE_DIR=%(testbase)s/Baseline.usage:%(testbase)s/Baseline.xform:%(tes [environment-cpp] ZEEK_USE_CPP=1 BTEST_BASELINE_DIR=%(testbase)s/Baseline.cpp:%(testbase)s/Baseline + +# This environment runs ZAM in default mode, i.e., with all optimizations +# activated. When using it, some of the tests require extra time to run, +# so before diagnosing failures, rerun the failed tests non-parallelized +# (no -j). Also, we explicitly set ZEEK_XFORM, even though ZEEK_ZAM activates +# it, because some tests look for it when deciding whether to skip or run. +[environment-zam] +ZEEK_ZAM=1 +ZEEK_XFORM=1 +BTEST_BASELINE_DIR=%(testbase)s/Baseline.zam:%(testbase)s/Baseline.xform:%(testbase)s/Baseline