From 7d155f842431af4d9c2e3a55149a881283a06920 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 8 Mar 2021 08:03:07 -0800 Subject: [PATCH] Move tests to "test" directory. NFC. (#745) --- .circleci/config.yml | 28 ++++++++++---------- {scripts => test}/test.bat | 0 {scripts => test}/test.py | 0 {scripts => test}/test.sh | 0 {scripts => test}/test_activation.ps1 | 0 {scripts => test}/test_bazel.sh | 0 {scripts => test}/test_path_preservation.ps1 | 0 {scripts => test}/test_source_env.sh | 0 8 files changed, 14 insertions(+), 14 deletions(-) rename {scripts => test}/test.bat (100%) rename {scripts => test}/test.py (100%) rename {scripts => test}/test.sh (100%) rename {scripts => test}/test_activation.ps1 (100%) rename {scripts => test}/test_bazel.sh (100%) rename {scripts => test}/test_path_preservation.ps1 (100%) rename {scripts => test}/test_source_env.sh (100%) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5ff7d6..20288af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,13 +35,13 @@ jobs: - run: name: Install debian packages command: apt-get update -q && apt-get install -q -y cmake build-essential openjdk-8-jre-headless ksh zsh - - run: scripts/test.sh - - run: scripts/test_source_env.sh + - run: test/test.sh + - run: test/test_source_env.sh - run: name: test.py command: | source emsdk_env.sh - scripts/test.py + test/test.py test-mac: macos: xcode: "12.2.0" @@ -55,12 +55,12 @@ jobs: - run: name: Install cmake command: brew install cmake - - run: scripts/test.sh + - run: test/test.sh - run: name: test.py command: | source emsdk_env.sh - scripts/test.py + test/test.py test-windows: executor: name: win/vs2019 @@ -81,52 +81,52 @@ jobs: - run: name: Install latest shell: cmd.exe - command: scripts\test.bat + command: test\test.bat - run: name: test.py command: | source emsdk_env.sh - python scripts/test.py + python test/test.py - run: name: flagless (process/shell) test shell: powershell.exe command: | - scripts/test_activation.ps1 + test/test_activation.ps1 - run: name: --permanent test shell: powershell.exe command: | $env:PERMANENT_FLAG="--permanent" - scripts/test_activation.ps1 + test/test_activation.ps1 - run: name: --system test shell: powershell.exe command: | $env:SYSTEM_FLAG="--system" - scripts/test_activation.ps1 + test/test_activation.ps1 - run: name: Process/Shell PATH preservation test shell: powershell.exe command: | - scripts/test_path_preservation.ps1 + test/test_path_preservation.ps1 - run: name: User PATH preservation test shell: powershell.exe command: | $env:PERMANENT_FLAG="--permanent" - scripts/test_path_preservation.ps1 + test/test_path_preservation.ps1 - run: name: System PATH preservation test shell: powershell.exe command: | $env:SYSTEM_FLAG="--system" - scripts/test_path_preservation.ps1 + test/test_path_preservation.ps1 build-docker-image: executor: bionic @@ -184,7 +184,7 @@ jobs: name: install bazel command: | apt-get install -q -y bazel - - run: scripts/test_bazel.sh + - run: test/test_bazel.sh workflows: flake8: diff --git a/scripts/test.bat b/test/test.bat similarity index 100% rename from scripts/test.bat rename to test/test.bat diff --git a/scripts/test.py b/test/test.py similarity index 100% rename from scripts/test.py rename to test/test.py diff --git a/scripts/test.sh b/test/test.sh similarity index 100% rename from scripts/test.sh rename to test/test.sh diff --git a/scripts/test_activation.ps1 b/test/test_activation.ps1 similarity index 100% rename from scripts/test_activation.ps1 rename to test/test_activation.ps1 diff --git a/scripts/test_bazel.sh b/test/test_bazel.sh similarity index 100% rename from scripts/test_bazel.sh rename to test/test_bazel.sh diff --git a/scripts/test_path_preservation.ps1 b/test/test_path_preservation.ps1 similarity index 100% rename from scripts/test_path_preservation.ps1 rename to test/test_path_preservation.ps1 diff --git a/scripts/test_source_env.sh b/test/test_source_env.sh similarity index 100% rename from scripts/test_source_env.sh rename to test/test_source_env.sh