Update execute-tests.yaml

This commit is contained in:
uazo 2021-08-15 21:02:41 +02:00 committed by GitHub
parent 88cb066fb0
commit 205577b1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,11 +62,15 @@ jobs:
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
cd $WORKSPACE cd $WORKSPACE
export VPYTHON_VIRTUALENV_ROOT=/home/lg/vpython_root
mkdir $VPYTHON_VIRTUALENV_ROOT
# copy artifacts # copy artifacts
cd chromium/src cd chromium/src
#mkdir -p out/bromite mkdir -p out/bromite
cp -arp $ARTIFACS_DIR/out out/ cp -arp $ARTIFACS_DIR/out/* out/bromite
mv out/out out/bromite
mkdir -p out/tests
# reset proxy env # reset proxy env
#HTTP_PROXY= #HTTP_PROXY=
@ -80,11 +84,11 @@ jobs:
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
cd $WORKSPACE/chromium/src cd $WORKSPACE/chromium/src
out/bromite/bin/run_chrome_junit_tests | tee ~/chrome_junit_tests.log out/bromite/bin/run_chrome_junit_tests | tee out/tests/chrome_junit_tests.log
out/bromite/bin/run_components_junit_tests | tee ~/components_junit_tests.log out/bromite/bin/run_components_junit_tests | tee out/tests/components_junit_tests.log
out/bromite/bin/run_content_junit_tests | tee ~/content_junit_tests.log out/bromite/bin/run_content_junit_tests | tee out/tests/content_junit_tests.log
out/bromite/bin/run_base_junit_tests | tee ~/base_junit_tests.log out/bromite/bin/run_base_junit_tests | tee out/tests/base_junit_tests.log
out/bromite/bin/run_ui_junit_tests | tee ~/ui_junit_tests.log out/bromite/bin/run_ui_junit_tests | tee out/tests/ui_junit_tests.log
- name: Execute c++ tests - name: Execute c++ tests
shell: bash shell: bash
@ -93,3 +97,11 @@ jobs:
cd $WORKSPACE/chromium/src cd $WORKSPACE/chromium/src
#out/bromite/bin/run_content_browsertests --avd-config tools/android/avd/proto/generic_android28.textpb | tee ~/content_browsertests.log #out/bromite/bin/run_content_browsertests --avd-config tools/android/avd/proto/generic_android28.textpb | tee ~/content_browsertests.log
- name: Copy results
shell: bash
run: |
test -d $ARTIFACS_DIR/test_results && rm -rf $ARTIFACS_DIR/test_results
mkdir $ARTIFACS_DIR/test_results
cp -r $WORKSPACE/chromium/src/out/bromite/TEST_RESULTS* $ARTIFACS_DIR/test_results