d01 ex04 correction erreurs sur tests
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
cd $(dirname $0)
|
||||
source ./colors.sh
|
||||
mkdir -p test_log
|
||||
mkdir -p files_log
|
||||
make -C ../ &> /dev/null
|
||||
|
||||
EXECUTABLE="sed"
|
||||
FILES_LOG="files_log"
|
||||
LEAKS=""
|
||||
if [ $1 == "leaks" ] || [ $1 == "valgrind" ]
|
||||
then
|
||||
@@ -27,7 +28,9 @@ fi
|
||||
fi
|
||||
|
||||
if [ -f $TESTNAME ];then
|
||||
mv $TESTNAME $TESTNAME.replace ./test_log;fi
|
||||
mv $TESTNAME ./$FILES_LOG;fi
|
||||
if [ -f $TESTNAME.replace ];then
|
||||
mv $TESTNAME.replace ./$FILES_LOG;fi
|
||||
}
|
||||
|
||||
# TEST 1 ########################################
|
||||
|
||||
Reference in New Issue
Block a user