ci: make test_file.txt a build artifact for debug

Rather that echo'ng the test_file.txt to the console, lets just upload
it as a buildkite artifact.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-07-28 17:54:38 -05:00 committed by Anas Nashif
commit 33056e48c5
2 changed files with 5 additions and 1 deletions

View file

@ -53,6 +53,10 @@ fi
mv sanity-out/sanitycheck.xml sanitycheck-${BUILDKITE_JOB_ID}.xml mv sanity-out/sanitycheck.xml sanitycheck-${BUILDKITE_JOB_ID}.xml
buildkite-agent artifact upload sanitycheck-${BUILDKITE_JOB_ID}.xml buildkite-agent artifact upload sanitycheck-${BUILDKITE_JOB_ID}.xml
# Upload test_file to get list of tests that are build/run
buildkite-agent artifact upload test_file.txt
# ccache stats # ccache stats
echo "--- ccache stats at finish" echo "--- ccache stats at finish"
ccache -s ccache -s

View file

@ -269,7 +269,7 @@ if [ -n "$main_ci" ]; then
tail -n +2 test_file_1.txt > test_file_1_in.txt tail -n +2 test_file_1.txt > test_file_1_in.txt
cat test_file_3.txt test_file_2_in.txt test_file_1_in.txt > test_file.txt cat test_file_3.txt test_file_2_in.txt test_file_1_in.txt > test_file.txt
cat test_file.txt buildkite-agent artifact upload test_file.txt
echo "+++ run sanitycheck" echo "+++ run sanitycheck"