mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-12-22 13:25:49 +00:00
Fix collision between scripts/remaining files from previous run
This commit is contained in:
parent
6637ad813f
commit
3291163ed2
|
@ -17,7 +17,7 @@ then
|
|||
for DIR in inputs/*/
|
||||
do
|
||||
DIR=$(basename ${DIR});
|
||||
LOOP=$(find inputs/${DIR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*');
|
||||
LOOP=$(find inputs/${DIR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*' ! -name '*.vcd');
|
||||
for TESTCASE in ${LOOP}
|
||||
do
|
||||
TESTCASE=$([[ ${TESTCASE} =~ /([^./]+)\. ]] && echo "${BASH_REMATCH[1]}");
|
||||
|
@ -39,7 +39,7 @@ then
|
|||
done
|
||||
done
|
||||
else
|
||||
LOOP=$(find inputs/${INSTR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*');
|
||||
LOOP=$(find inputs/${INSTR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*' ! -name '*.vcd');
|
||||
for TESTCASE in ${LOOP}
|
||||
do
|
||||
TESTCASE=$([[ ${TESTCASE} =~ /([^./]+)\. ]] && echo "${BASH_REMATCH[1]}");
|
||||
|
|
|
@ -17,7 +17,7 @@ then
|
|||
for DIR in inputs/*/
|
||||
do
|
||||
DIR=$(basename ${DIR});
|
||||
LOOP=$(find inputs/${DIR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*');
|
||||
LOOP=$(find inputs/${DIR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*' ! -name '*.vcd');
|
||||
for TESTCASE in ${LOOP}
|
||||
do
|
||||
TESTCASE=$([[ ${TESTCASE} =~ /([^./]+)\. ]] && echo "${BASH_REMATCH[1]}");
|
||||
|
@ -39,7 +39,7 @@ then
|
|||
done
|
||||
done
|
||||
else
|
||||
LOOP=$(find inputs/${INSTR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*');
|
||||
LOOP=$(find inputs/${INSTR}/* ! -name '*ref*' ! -name '*log*' ! -name '*data*' ! -name '*out*' ! -name '*stderr*' ! -name '*diff*' ! -name '*.vcd');
|
||||
for TESTCASE in ${LOOP}
|
||||
do
|
||||
TESTCASE=$([[ ${TESTCASE} =~ /([^./]+)\. ]] && echo "${BASH_REMATCH[1]}");
|
||||
|
|
Loading…
Reference in a new issue