fix test script

pull/4837/head
filip mertens 7 months ago
parent d8a1396744
commit a5b684d4e9
  1. 4
      apps/remixdesktop/run_ci_test.sh
  2. 2
      apps/remixdesktop/splice_tests.js

@ -2,9 +2,9 @@
set -e set -e
yarn run build:e2e && node ./splice_tests.js 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 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 done
echo "$TEST_EXITCODE" echo "$TEST_EXITCODE"

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

Loading…
Cancel
Save