Skip to content
Snippets Groups Projects
Commit d33d0e69 authored by an7s's avatar an7s
Browse files

No commit message

No commit message
parent ff32faad
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,7 @@ examples/integerbug.c -text
examples/mul/generate_cprogs.sh -text
examples/mul/mul.ctmpl -text
examples/mul/mul.shtmpl -text
examples/mul/run_tests.sh -text
examples/overflow1.c -text
examples/test1.c -text
libIRDB/Makefile -text
......
#!/bin/bash
#types="char short int long unsigned+char unsigned+short unsigned+int unsigned+long";
types="char short"
types="char short int long unsigned+char unsigned+short unsigned+int unsigned+long";
#types="char short"
#sharedlib_gccflags="-O -O2 -fomit-frame-pointer"
sharedlib_gccflags="-O -O2 -fomit-frame-pointer"
#types="int char"
......@@ -92,7 +93,7 @@ create_prog()
for gccflag in $sharedlib_gccflags
do
create_test $progname_c "" "$gccflag" shared_lib
create_test $progname "" "$gccflag" shared_lib
done
}
......
......@@ -64,7 +64,7 @@ assert_test_env $outfile STRATAFIER STRATA TOOLCHAIN STRATAFIER_OBJCOPY IDAROOT
# path to source
testloc=`pwd`
orig=orig$$.exe
orig=$BENCHNAME.$$.exe
# compile
gcc ${testloc}/$BENCHNAME.c $COMPFLAGS -o $orig || cleanup 2 "gcc failed"
......
outfile=tests.out
rm $outfile
touch $outfile
for i in `ls mul*.sh`
do
echo running $i
$TEST_HARNESS_HOME/run_one_test.sh $i no_redirect
if [ ! $? -eq 0 ]; then
echo Test $i failed >> $outfile
else
echo Test $i success >> $outfile
fi
done
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