Skip to content

Commit

Permalink
ledger: codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
kbhargava-jump committed May 16, 2024
1 parent ec41e5b commit 701b9ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ flags:
carryforward: true
ledgers:
carryforward: true
nightly_ledgers:
carryforward: true
4 changes: 2 additions & 2 deletions src/flamenco/runtime/tests/run_ledger_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ PRUNE_FAILURE=0
TILE_CPUS="--tile-cpus 5-21"

POSITION_ARGS=()
OBJDIR=${OBJDIR:-build/native/gcc}
OBJDIR=${OBJDIR:-build/native/clang}

while [[ $# -gt 0 ]]; do
case $1 in
Expand Down Expand Up @@ -200,7 +200,7 @@ while [[ $# -gt 0 ]]; do
done


export LLVM_PROFILE_FILE=$OBJDIR/cov/raw/ledger_test_$LEDGER.profraw
export LLVM_PROFILE_FILE=$OBJDIR/cov/raw/ledger_test_$$.profraw
mkdir -p $OBJDIR/cov/raw

if [[ ! -e dump/$CHECKPT && SKIP_INGEST -eq 1 ]]; then
Expand Down
8 changes: 2 additions & 6 deletions src/flamenco/runtime/tests/run_nightly_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,13 @@ EOF
curl -X POST -H 'Content-type: application/json' --data "$start_json_payload" $SLACK_WEBHOOK_URL

# Set up environment
PATH=/opt/rh/gcc-toolset-12/root/usr/bin:$PATH
export PATH
PKG_CONFIG_PATH=/usr/lib64/pkgconfig:$PKG_CONFIG_PATH

make distclean && make clean
./deps.sh nuke
echo "y" | ./deps.sh +dev
make -j
make -j CC=clang EXTRAS=llvm-cov

# Run the test
make run-runtime-test-nightly > ~/run_nightly_tests.txt
make run-runtime-test-nightly -j CC=clang EXTRAS=llvm-cov > ~/run_nightly_tests.txt
status=$?

# Notify the test status
Expand Down

0 comments on commit 701b9ed

Please sign in to comment.