Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
newling committed Aug 29, 2024
1 parent 4f989eb commit 0466837
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,17 @@ jobs:
$PWD/llvm-aie \
--xrt-dir /opt/xilinx/xrt \
--test-set='Smoke' \
--do-not-run-aie > test_aie_vs_cpu/smoke_output.log 2>&1
--do-not-run-aie > smoke_output.log 2>&1
# Assert that output.log is empty (because verbose=0)
if [ -s test_aie_vs_cpu/smoke_output.log ]; then
# Assert that smoke_output.log is empty (because verbose=0)
# First assert that smoke_output.log exists:
if [ ! -f smoke_output.log ]; then
echo "smoke_output.log does not exist."
exit 1
fi
if [ -s smoke_output.log ]; then
echo "smoke_output.log is not empty:"
cat test_aie_vs_cpu/smoke_output.log
cat smoke_output.log
exit 1
else
echo "smoke_output.log is empty"
Expand Down

0 comments on commit 0466837

Please sign in to comment.