Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
8e4a1e61
Commit
8e4a1e61
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Add zafl and rida configs to test
Former-commit-id: 16fca281524444e7cdf3ee60e264f6af2a24bd52
parent
0a5ece7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/Makefile
+1
-1
1 addition, 1 deletion
tests/Makefile
tests/ncal/test_script.sh
+2
-2
2 additions, 2 deletions
tests/ncal/test_script.sh
tests/test_cmds.sh
+20
-5
20 additions, 5 deletions
tests/test_cmds.sh
with
23 additions
and
8 deletions
tests/Makefile
+
1
−
1
View file @
8e4a1e61
...
...
@@ -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
This diff is collapsed.
Click to expand it.
tests/cal/test_script.sh
→
tests/
n
cal/test_script.sh
+
2
−
2
View file @
8e4a1e61
...
...
@@ -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/
n
cal
#used for filtering program names from output.
ORIG_NAME
=
cal
ORIG_NAME
=
n
cal
#must import the library here, as it depends on some of the above variables
.
$TEST_LIB
...
...
This diff is collapsed.
Click to expand it.
tests/test_cmds.sh
+
20
−
5
View file @
8e4a1e61
...
...
@@ -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
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment