Skip to content

Commit

Permalink
try more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ajm-asiaa committed Dec 12, 2023
1 parent 447a94c commit 2f81143
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/icd_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ jobs:
--pwd $BUILD_DIR \
${{ matrix.image }} /bin/bash -c "\
# Start carta_backend
echo 'Debug: BUILD_DIR: $BUILD_DIR' && \
ASAN_OPTIONS=suppressions=$SRC_DIR/debug/asan/myasan.supp \
LSAN_OPTIONS=suppressions=$SRC_DIR/debug/asan/myasan-leaks.supp \
ASAN_SYMBOLIZER_PATH=llvm-symbolizer \
Expand All @@ -164,22 +165,23 @@ jobs:
--no_frontend \
--no_database \
--verbosity=5 >> $LOG_FILE 2>&1 & \
CARTA_BACKEND_PID=$! && \
sleep 5 && \
ps aux | grep carta_backend && \
CARTA_BACKEND_PID=$! && \
echo 'carta_backend started with PID: $CARTA_BACKEND_PID' && \
cd ICD-RxJS && \
ls ICD_test_stages && \
echo 'Debug: TEST_STAGE: $TEST_STAGE' && \
if [ -f ICD_test_stages/$TEST_STAGE.tests ]; then
echo 'Debug: checking files' && \
cat ICD_test_stages/$TEST_STAGE.tests && \
TEST_FILES=$(cat ICD_test_stages/$TEST_STAGE.tests) && \
TEST_FILES=$(bash -c "cat ICD_test_stages/$TEST_STAGE.tests") && \
echo 'Debug: TEST_FILES: $TEST_FILES' && \
for test_file in $TEST_FILES; do
npm test -- $test_file
done
else
echo 'Debug: Something wrong'
echo 'Debug: Something wrong'
fi && \
# Stop carta_backend
kill $CARTA_BACKEND_PID"
Expand Down

0 comments on commit 2f81143

Please sign in to comment.