Update execute-tests.yaml

This commit is contained in:
uazo 2021-09-06 14:24:24 +02:00 committed by GitHub
parent 689f7b1abd
commit ccd0517cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,15 @@ jobs:
cd $WORKSPACE/chromium/src cd $WORKSPACE/chromium/src
tools/autotest.py -C out/bromite/ --run-all components/bookmarks --dry-run | grep "Running test: " | cut -b 15- | sed -e 's|--gtest_filter|-v --gtest_filter|' | xargs -d\\n -n1 bash -c || KO=1 tools/autotest.py -C out/bromite/ --run-all components/bookmarks --dry-run | grep "Running test: " | cut -b 15- | sed -e 's|--gtest_filter|-v --gtest_filter|' | xargs -d\\n -n1 bash -c || KO=1
- name: Restart Android Emulator
shell: bash
run: |
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
pkill -f qemu-system-x86
tools/android/avd/avd.py start --avd-config ../../generic_android31.textpb -v
- name: Execute gtests components/download - name: Execute gtests components/download
shell: bash shell: bash
run: | run: |
@ -187,15 +196,13 @@ jobs:
cd $WORKSPACE/chromium/src cd $WORKSPACE/chromium/src
out/bromite/bin/run_content_browsertests -v --fast-local-dev || KO=1 out/bromite/bin/run_content_browsertests -v --fast-local-dev || KO=1
- name: Wait forever #- name: Wait forever
shell: bash # shell: bash
run: | # run: |
sleep infinity # sleep infinity
- name: Copy results - name: Copy results
shell: bash shell: bash
run: | run: |
test -d $ARTIFACS_DIR/test_results && rm -rf $ARTIFACS_DIR/test_results sudo cp -r $WORKSPACE/chromium/src/out/bromite/TEST_RESULTS* $WORKSPACE/chromium/src/out/tests/
mkdir $ARTIFACS_DIR/test_results
cp -r $WORKSPACE/chromium/src/out/bromite/TEST_RESULTS* $ARTIFACS_DIR/test_results