Skip to content
Snippets Groups Projects
Commit 8e4a1e61 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Add zafl and rida configs to test

Former-commit-id: 16fca281524444e7cdf3ee60e264f6af2a24bd52
parent 0a5ece7e
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,6 @@ all:
clean:
rm -fr tmp_test_area*
superclean:
superclean: clean
if [ ! "X" = "X"${PGUSER} ]; then sh ../tools/db/drop_my_tables.sh; sh ../tools/db/pdb_setup.sh; fi
......@@ -3,10 +3,10 @@
TEST_LIB=$PEASOUP_HOME/tests/manual_test_lib.sh
#for grep, I use some data files, so I set up variables pointing to that location
TEST_DIR=$PEASOUP_HOME/tests/cal
TEST_DIR=$PEASOUP_HOME/tests/ncal
#used for filtering program names from output.
ORIG_NAME=cal
ORIG_NAME=ncal
#must import the library here, as it depends on some of the above variables
. $TEST_LIB
......
......@@ -12,22 +12,22 @@
#configs="zipr scfi scfi.color"
#configs="shadow"
#configs="p1 scfi"
configs="mg mgx mgx_p1 p1_mgx"
#configs="mg mgx mgx_p1 p1_mgx"
#configs="ibtl"
#configs="killdeads_strata"
#configs="ibtl ibtl_p1"
#configs="zipr scfi p1"
#configs="rida"
configs="rida_p1 rida_scfi rida_p1_scfi"
# specify programs to test
#orig_progs="grep ncal bzip2 du ls objdump readelf sort tar touch tcpdump"
#orig_progs="grep bzip2 du ls objdump readelf sort tar touch"
orig_progs="grep ls objdump tar"
#orig_progs="bzip2"
orig_progs="du grep bzip2 ls objdump readelf sort tar touch"
orig_progs="ncal"
#orig_progs="gedit"
#orig_progs="gimp"
#orig_progs="openssl"
#orig_progs="tcpdump sort touch"
#orig_progs="grep"
build_only=0
export IB_VERBOSE=1
......@@ -70,9 +70,24 @@ do
progpath=$(readlink -f $progpath)
case $config in
zafl)
zafl.sh $progpath $protected --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
zipr)
$PSZ $progpath $protected --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
rida)
$PSZ $progpath $protected -s meds_static=off -s rida=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
rida_p1)
$PSZ $progpath $protected -s meds_static=off -s rida=on -s p1transform=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
rida_scfi)
FIX_CALLS_FIX_ALL_CALLS=1 $PSZ $progpath $protected -s meds_static=off -s rida=on -s selective_cfi=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
rida_p1_scfi)
FIX_CALLS_FIX_ALL_CALLS=1 $PSZ $progpath $protected -s meds_static=off -s rida=on -s p1transform=on -s selective_cfi=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
p1)
$PSZ $progpath $protected --step p1transform=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment