source: examples/python_tests/runall @ f824a9e

mei_rt2mei_rt2_fix_1
Last change on this file since f824a9e was f824a9e, checked in by Mei <mei@…>, 12 years ago

1) add more doc to python_tests

  • Property mode set to 100755
File size: 544 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
15for i in `ls -1 `; do
16   if [ -d $i ]; then
17       cd $i
18       if [ "$1" = "clean" ]; then
19           rm -rf ../allout.tmp
20           printf "\n ==> CLEANING on %s\n" "$i" >& 2 ;
21           rm -rf *.der *.pem *.cn *.sha *.log
22       elif [ "$1" = "run" ] ; then
23           printf "\n ==> RUN on %s\n" "$i" >& 2;
24           ./run_test
25       fi 
26       cd $pwd
27   fi
28done
Note: See TracBrowser for help on using the repository browser.