Remove unnecessary subfolder in tests/jerry/fail/ (#1783)
There is no need to create error code named subfolders since every failing tests return with the same code. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka [email protected]
This commit is contained in:
1 parent
14c455bcd8
commit
56802c22a1
41 files changed
+5
-5
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -118,13 +118,13 @@ ENGINE_TEMP=`mktemp engine-out.XXXXXXXXXX`
|
||||
|
||||
for test in `cat $TEST_FILES`
|
||||
do
|
||||
error_code=`echo $test | grep -e "^.\/fail\/[0-9]*\/" -o | cut -d / -f 3`
|
||||
if [ "$error_code" = "" ]
|
||||
if [[ $test =~ ^\.\/fail\/ ]]
|
||||
then
|
||||
PASS="PASS"
|
||||
error_code=0
|
||||
else
|
||||
error_code=1
|
||||
PASS="PASS (XFAIL)"
|
||||
else
|
||||
error_code=0
|
||||
PASS="PASS"
|
||||
fi
|
||||
|
||||
full_test=$TESTS_DIR/${test#./}
|
||||
|
||||
Reference in new issue
Block a user