]> granicus.if.org Git - sysstat/commitdiff
simtest: Update do_test script
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 28 Jun 2019 07:31:07 +0000 (09:31 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 28 Jun 2019 07:31:07 +0000 (09:31 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
do_test

diff --git a/do_test b/do_test
index 5c3c3c6a759acfd001f7cd72ce29a9ed78175218..d80f805143b1c314ceca6da0272a1c5042ac5115 100755 (executable)
--- a/do_test
+++ b/do_test
@@ -1,5 +1,9 @@
 #!/bin/sh
-if [ "$1" = "comp" ]
+if [ "$1" = "conf" ]
+then
+       make distclean
+       ./configure sa_lib_dir=. conf_dir=. sa_dir=tests && make CFLAGS="-D DEBUG -D TEST"
+elif [ "$1" = "comp" ]
 then
        make CFLAGS="-D DEBUG -D TEST"
 else