12 for j in Makefile makefile Makefile.newtest makefile.newtest
21 find_path_to_test_dir()
23 # FIND THE PATH TO THE TEST DIR
24 # SO THAT WE CAN ADD THE BIN DIR INTO
27 # remember the top level execution dir
28 chmod +x "$0" # just in case
30 #add path to $0 into search
33 [ -d "$DIRNAME" ] && cd "$DIRNAME"
37 chmod +x "$0" # just in case
39 DIRNAME=`dirname "$EXECNAME"`
42 TEST_HOME_DIR="$DIRNAME"
44 TEST_HOME_DIR="$savedir" # Give up and assume current dir
47 PATH="$PATH":"$TEST_HOME_DIR"/bin:"$savedir"
52 cd "$TEST_HOME_DIR/test-cases"
60 make -C $i -f $MF -s -k clean >/dev/null 2>/dev/null