3 # Run complete performance test suite, output to stdout. No options.
5 # Run this from SecurityTests/cspxutils. Both cspxutils and clxutils
6 # must built (and they must be peers, i.e., ../clxutils exists).
7 # Executables must be in $LOCAL_BUILD_DIR.
12 # Verify existence of a few crucial things before we start.
14 if ( ! -e ..
/clxutils
) then
15 echo ..
/clxutils not found. Aborting.
18 cd ..
/clxutils
; set CLXUTILS
=`pwd`
20 # safely look for this required env var
22 setenv
| grep LOCAL_BUILD_DIR
> /dev
/null
24 echo Please
set env var LOCAL_BUILD_DIR.
27 set BUILD_DIR
=$LOCAL_BUILD_DIR
29 if( ( ! -e $BUILD_DIR/perform
) || \
30 ( ! -e $BUILD_DIR/certTime
) || \
31 ( ! -e $CLXUTILS/certTime
)) then
32 echo === You
do not seem to have all of the required executables.
33 echo === Please build all of cspxutils and clxutils.
34 echo === See the README files
in those directories
for info.
39 set cmd
="./doPerform 1000 10240"
42 echo ==============================================================
47 echo ==============================================================
49 set cmd
="./sigPerform a=r l=1000 k=1024"
52 echo ==============================================================
53 set cmd
="./asymPerform k=1024"
56 echo ==============================================================
57 cd $CLXUTILS/certTime
|| exit(1)
61 echo ==============================================================
62 cd $CLXUTILS/kcTime
|| exit(1)
63 set cmd
="$BUILD_DIR/kcTime"
66 echo ==============================================================
67 cd $CLXUTILS/secTime
|| exit(1)
68 set cmd
="$BUILD_DIR/secTime"
71 echo ==============================================================
72 echo Performance suite complete.