aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/test-suite
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-04-17 15:14:26 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-04-17 15:14:26 +0200
commitbb4239aafe31493a395d7777de5b3c33ea06a98d (patch)
tree0835acb4336044b006f5180616355879b1db7501 /validation/test-suite
parent2cd6d34e815a7442b0b113f395504131b3a92e77 (diff)
parent15806a1f68178a278c7a297b163d5692fe71cbf2 (diff)
downloadsparse-dev-bb4239aafe31493a395d7777de5b3c33ea06a98d.tar.gz
Merge branch 'schecker'
* add a symbolic checker
Diffstat (limited to 'validation/test-suite')
-rwxr-xr-xvalidation/test-suite6
1 files changed, 6 insertions, 0 deletions
diff --git a/validation/test-suite b/validation/test-suite
index 370cd35a..305edd1f 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -13,6 +13,9 @@ prog_name=`basename $0`
if [ ! -x "$default_path/sparse-llvm" ]; then
disabled_cmds="sparsec sparsei sparse-llvm sparse-llvm-dis"
fi
+if [ ! -x "$default_path/scheck" ]; then
+ disabled_cmds="$disabled_cmds scheck"
+fi
# flags:
# - some tests gave an unexpected result
@@ -514,6 +517,7 @@ echo " -f write a test known to fail"
echo " -l write a test for linearized code"
echo " -r write a test for linearized code returning 1"
echo " -p write a test for pre-processing"
+echo " -s write a test for symbolic checking"
echo
echo "argument(s):"
echo " file file containing the test case(s)"
@@ -545,6 +549,8 @@ do_format()
ret=1 ;;
-p)
def_cmd='sparse -E $file' ;;
+ -s)
+ def_cmd='scheck $file' ;;
help|-*)
do_format_help