Combine all script tests into test-scripts

Remove:
    - tidy self test support from `./mach test`
    - `./mach test-idl`

Adds a `./mach test-scripts` command that is responsible for running all
Python script tests. Run this during the CI to catch regressions in
changes to scripts. The WebIDL tests are still *very* slow and there are
from Gecko, so only run them when "-a" is passed meaning all tests.
This commit is contained in:
Martin Robinson 2023-06-24 11:15:27 +02:00
parent edeed11cef
commit ae9a9e1d17
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
13 changed files with 94 additions and 94 deletions

View file

@ -75,6 +75,8 @@ jobs:
run: python3 ./mach build --release --with-${{ env.LAYOUT }}
- name: Smoketest
run: xvfb-run python3 ./mach smoketest
- name: Script tests
run: ./mach test-scripts
- name: Unit tests
if: ${{ inputs.unit-tests }}
run: python3 ./mach test-unit --release --with-${{ env.LAYOUT }}