source: examples/python_tests/runall @ 3a867a1

mei_rt2mei_rt2_fix_1
Last change on this file since 3a867a1 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
RevLine 
[f0eb81d]1#!/bin/sh
2
3# format,
4#   runall clean
[9335cfa]5#   runall run
[f0eb81d]6
7progname=$(basename $0)
[d9c3886]8pwd=`pwd`
[f0eb81d]9
10if [ $# -eq 0 ]; then
[d9c3886]11    echo "Usage: $progname (clean|run)" >&2;
[f0eb81d]12    exit 1
13fi
[c469edf]14
15for i in `ls -1 `; do
[d9c3886]16   if [ -d $i ]; then
17       cd $i
[f0eb81d]18       if [ "$1" = "clean" ]; then
[5110d42]19           rm -rf ../allout.tmp
[f0eb81d]20           printf "\n ==> CLEANING on %s\n" "$i" >& 2 ;
[669b481]21           rm -rf *.der *.pem *.cn *.sha *.log
[f0eb81d]22       elif [ "$1" = "run" ] ; then
[d9c3886]23           printf "\n ==> RUN on %s\n" "$i" >& 2;
24           ./run_test
[f0eb81d]25       fi 
[d9c3886]26       cd $pwd
[c469edf]27   fi
28done
Note: See TracBrowser for help on using the repository browser.