From dfd818493f32bacbdfba08e605e6bd56ab516101 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Wed, 3 Jul 2024 22:51:49 -0700 Subject: [PATCH] update test scripts --- test/test.ps1 | 4 ++-- test/test.sh | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/test.ps1 b/test/test.ps1 index 9846053..e3c7a7e 100644 --- a/test/test.ps1 +++ b/test/test.ps1 @@ -9,7 +9,7 @@ function Test-Path-Or-Exit($Path) { } } -git clean -fx . +git clean -fx . -e test/bazel-* bazel build //... bazel run --config=test //:copy_example_txt @@ -21,7 +21,7 @@ Test-Path-Or-Exit .\ignored_folder\example\example.txt bazel run --config=test //:copy_example_txt_file_path_external Test-Path-Or-Exit .\ignored_folder\external\faux_repo\example.txt -git clean -fx . +git clean -fx . -e test/bazel-* bazel run --config=test --config=ci //:copy_example_txt_file_path_external Test-Path-Or-Exit .\\ignored_folder\external\faux_repo\example.txt diff --git a/test/test.sh b/test/test.sh index c892b2e..7ebf81d 100644 --- a/test/test.sh +++ b/test/test.sh @@ -8,19 +8,19 @@ function test_path_or_exit { fi } -git clean -fx example -bazel build //example/... +git clean -fx . -e test/bazel-* +bazel build //... -bazel run --config=test //example:copy_example_txt -test_path_or_exit ./example/ignored_folder/example.txt +bazel run --config=test //:copy_example_txt +test_path_or_exit ./ignored_folder/example.txt -bazel run --config=test //example:copy_example_txt_file_path -test_path_or_exit ./example/ignored_folder/example/example.txt +bazel run --config=test //:copy_example_txt_file_path +test_path_or_exit ./ignored_folder/example/example.txt -bazel run --config=test //example:copy_example_txt_file_path -test_path_or_exit ./example/ignored_folder/external/faux_repo/example.txt +bazel run --config=test //:copy_example_txt_file_path +test_path_or_exit ./ignored_folder/external/faux_repo/example.txt -git clean -fx example +git clean -fx . -e test/bazel-* -bazel run --config=test --config=ci //example:copy_example_txt_file_path_external -test_path_or_exit ./example/ignored_folder/external/faux_repo/example.txt +bazel run --config=test --config=ci //:copy_example_txt_file_path_external +test_path_or_exit ./ignored_folder/external/faux_repo/example.txt