Move tests to "test" directory. NFC. (#745)

This commit is contained in:
Sam Clegg
2021-03-08 08:03:07 -08:00
committed by GitHub
parent f0ee795014
commit 7d155f8424
8 changed files with 14 additions and 14 deletions

View File

@@ -35,13 +35,13 @@ jobs:
- run: - run:
name: Install debian packages name: Install debian packages
command: apt-get update -q && apt-get install -q -y cmake build-essential openjdk-8-jre-headless ksh zsh command: apt-get update -q && apt-get install -q -y cmake build-essential openjdk-8-jre-headless ksh zsh
- run: scripts/test.sh - run: test/test.sh
- run: scripts/test_source_env.sh - run: test/test_source_env.sh
- run: - run:
name: test.py name: test.py
command: | command: |
source emsdk_env.sh source emsdk_env.sh
scripts/test.py test/test.py
test-mac: test-mac:
macos: macos:
xcode: "12.2.0" xcode: "12.2.0"
@@ -55,12 +55,12 @@ jobs:
- run: - run:
name: Install cmake name: Install cmake
command: brew install cmake command: brew install cmake
- run: scripts/test.sh - run: test/test.sh
- run: - run:
name: test.py name: test.py
command: | command: |
source emsdk_env.sh source emsdk_env.sh
scripts/test.py test/test.py
test-windows: test-windows:
executor: executor:
name: win/vs2019 name: win/vs2019
@@ -81,52 +81,52 @@ jobs:
- run: - run:
name: Install latest name: Install latest
shell: cmd.exe shell: cmd.exe
command: scripts\test.bat command: test\test.bat
- run: - run:
name: test.py name: test.py
command: | command: |
source emsdk_env.sh source emsdk_env.sh
python scripts/test.py python test/test.py
- run: - run:
name: flagless (process/shell) test name: flagless (process/shell) test
shell: powershell.exe shell: powershell.exe
command: | command: |
scripts/test_activation.ps1 test/test_activation.ps1
- run: - run:
name: --permanent test name: --permanent test
shell: powershell.exe shell: powershell.exe
command: | command: |
$env:PERMANENT_FLAG="--permanent" $env:PERMANENT_FLAG="--permanent"
scripts/test_activation.ps1 test/test_activation.ps1
- run: - run:
name: --system test name: --system test
shell: powershell.exe shell: powershell.exe
command: | command: |
$env:SYSTEM_FLAG="--system" $env:SYSTEM_FLAG="--system"
scripts/test_activation.ps1 test/test_activation.ps1
- run: - run:
name: Process/Shell PATH preservation test name: Process/Shell PATH preservation test
shell: powershell.exe shell: powershell.exe
command: | command: |
scripts/test_path_preservation.ps1 test/test_path_preservation.ps1
- run: - run:
name: User PATH preservation test name: User PATH preservation test
shell: powershell.exe shell: powershell.exe
command: | command: |
$env:PERMANENT_FLAG="--permanent" $env:PERMANENT_FLAG="--permanent"
scripts/test_path_preservation.ps1 test/test_path_preservation.ps1
- run: - run:
name: System PATH preservation test name: System PATH preservation test
shell: powershell.exe shell: powershell.exe
command: | command: |
$env:SYSTEM_FLAG="--system" $env:SYSTEM_FLAG="--system"
scripts/test_path_preservation.ps1 test/test_path_preservation.ps1
build-docker-image: build-docker-image:
executor: bionic executor: bionic
@@ -184,7 +184,7 @@ jobs:
name: install bazel name: install bazel
command: | command: |
apt-get install -q -y bazel apt-get install -q -y bazel
- run: scripts/test_bazel.sh - run: test/test_bazel.sh
workflows: workflows:
flake8: flake8: