Skip to content

Commit

Permalink
fix ci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
w-gc committed Jan 22, 2025
1 parent 0126a31 commit 65b0a5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/asan-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:
declare -i status0=0
declare -i status1=0
mkdir test-results
mkdir test-testlogs
mkdir bazel-testlogs
pushd src
bazel test //... --features=asan --test_timeout=500 --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; status0=${PIPESTATUS[0]}
sh ../../devtools/rename-junit-xml.sh
cp -r test-results/ ../test-results/
cp -r test-testlogs/ ../test-testlogs/
cp -r bazel-testlogs/ ../bazel-testlogs/
popd
# TODO
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ workflows:
config-path: .circleci/continue-config.yml
mapping: |
spu/.* build-and-run true
libspu/.* build-and-run true
src/.* build-and-run true
exmaples/.* build-and-run true
bazel/.* build-and-run true
.bazelrc build-and-run true
Expand Down
4 changes: 2 additions & 2 deletions .circleci/continue-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ commands:
declare -i status0=0
declare -i status1=0
mkdir test-results
mkdir test-testlogs
mkdir bazel-testlogs
pushd src
bazel query <<parameters.targets>>; if [ $? -eq 0 ]; then
bazel test <<parameters.extra_bazel_test_args>> <<parameters.targets>> -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; status0=${PIPESTATUS[0]}
sh ../../devtools/rename-junit-xml.sh
cp -r test-results/ ../test-results/
cp -r test-testlogs/ ../test-testlogs/
cp -r bazel-testlogs/ ../bazel-testlogs/
fi
popd
Expand Down

0 comments on commit 65b0a5c

Please sign in to comment.