fix test script

pull/5370/head
filip mertens 7 months ago
parent 876259d7e2
commit cadd727c6a
  1. 4
      apps/remixdesktop/run_ci_test.sh
  2. 2
      apps/remixdesktop/splice_tests.js

@ -2,9 +2,9 @@
set -e
yarn run build:e2e && node ./splice_tests.js
TESTFILES=$(./splice_tests.js | circleci tests split --split-by=timings)
TESTFILES=$(node ./splice_tests.js | circleci tests split --split-by=timings)
for TESTFILE in $TESTFILES; do
yarn run test --test ${TESTFILE} || TEST_EXITCODE=1
yarn run test --test ./build-e2e/remixdesktop/test/tests/app/${TESTFILE} || TEST_EXITCODE=1
done
echo "$TEST_EXITCODE"

@ -31,5 +31,5 @@ const filteredFiles = filterFilesByWord(testFiles, '');
// Output the list of filtered files
//console.log('Files without "@offline":', filteredFiles);
for (let i = 0; i < filteredFiles.length; i++) {
console.log(filteredFiles[i]);
console.log(path.basename(filteredFiles[i]));
}

Loading…
Cancel
Save