source: examples/python_tests/runall @ 7211a95

mei_rt2mei_rt2_fix_1
Last change on this file since 7211a95 was d9c3886, checked in by Mei <mei@…>, 13 years ago

1) add 2 more query calls in abac.hh that take Role and Oset instead of

strings. Add supporting code in libabac that will take abac_aspect_t
and make query term directly instead of doing stringify the structure
and do string->yyparse->abac_aspect_t again.

2) start on inline doc into abac.hh
3) tweaked some scripts in examples directory

  • Property mode set to 100755
File size: 611 bytes
Line 
1#!/bin/sh
2
3# format,
4#   runall clean
5#   runall run
6
7progname=$(basename $0)
8pwd=`pwd`
9
10if [ $# -eq 0 ]; then
11    echo "Usage: $progname (clean|run)" >&2;
12    exit 1
13fi
14
15ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac"
16export ABAC_PROVER_PATH
17
18for i in `ls -1 `; do
19   if [ -d $i ]; then
20       cd $i
21       if [ "$1" = "clean" ]; then
22           rm -rf ../allout.tmp
23           printf "\n ==> CLEANING on %s\n" "$i" >& 2 ;
24           rm -rf *.der *.pem *.cn *.sha
25       elif [ "$1" = "run" ] ; then
26           printf "\n ==> RUN on %s\n" "$i" >& 2;
27           ./run_test
28       fi 
29       cd $pwd
30   fi
31done
Note: See TracBrowser for help on using the repository browser.