Skip to content

Commit

Permalink
Get CI tests going again
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed Dec 10, 2024
1 parent 8ee0c79 commit 659533b
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions compiler+runtime/bin/ci/test
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ export CXX="${llvm_dir}/usr/local/bin/clang++"
"$@"
./bin/compile

# TODO: Enable these before merging to main.
#if [[ "${CODECOV:-off}" == "on" ]];
#then
# ./bin/configure -GNinja \
# -Djank_tests=on \
# -Djank_coverage=on \
# "$@"
# LLVM_PROFILE_FILE=build/test.profraw ./bin/test
# "${llvm_dir}/usr/local/bin/llvm-profdata" merge --sparse build/test.profraw -o build/test.profdata
# "${llvm_dir}/usr/local/bin/llvm-cov" show ./build/jank-test --instr-profile build/test.profdata > coverage.txt
# # This file will be read by a subsequent CodeCov Github action.
#else
# ./bin/test
#fi
if [[ "${CODECOV:-off}" == "on" ]];
then
./bin/configure -GNinja \
-Djank_tests=on \
-Djank_coverage=on \
"$@"
LLVM_PROFILE_FILE=build/test.profraw ./bin/test
"${llvm_dir}/usr/local/bin/llvm-profdata" merge --sparse build/test.profraw -o build/test.profdata
"${llvm_dir}/usr/local/bin/llvm-cov" show ./build/jank-test --instr-profile build/test.profdata > coverage.txt
# This file will be read by a subsequent CodeCov Github action.
else
./bin/test
fi

0 comments on commit 659533b

Please sign in to comment.