diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-03-14 14:59:22 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-03-23 14:18:52 +0100 |
commit | 27a7f0f98986abc54cd52b17974743287d6eaa79 (patch) | |
tree | 83f5c1bcceef2c4375e528857b8c10ed0629d808 /test | |
parent | b0d1da1fd7c82a5b636337e562d8ba36ce7ffa16 (diff) | |
download | justbuild-27a7f0f98986abc54cd52b17974743287d6eaa79.tar.gz |
test: Clean up target names
Using "test" in the name of a test target is unnecessary and
adds gratuitous inconsistencies.
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/file_system/TARGETS | 2 | ||||
-rw-r--r-- | test/other_tools/git_operations/TARGETS | 2 | ||||
-rw-r--r-- | test/other_tools/utils/TARGETS | 8 | ||||
-rw-r--r-- | test/other_tools/utils/curl_usage_test.sh | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/test/buildtool/file_system/TARGETS b/test/buildtool/file_system/TARGETS index 93477387..d1caab19 100644 --- a/test/buildtool/file_system/TARGETS +++ b/test/buildtool/file_system/TARGETS @@ -86,7 +86,7 @@ } , "git_repo": { "type": ["@", "rules", "CC/test", "test"] - , "name": ["git_repo_test"] + , "name": ["git_repo"] , "srcs": ["git_repo.test.cpp"] , "data": ["test_data"] , "private-deps": diff --git a/test/other_tools/git_operations/TARGETS b/test/other_tools/git_operations/TARGETS index 8515d680..a20409c1 100644 --- a/test/other_tools/git_operations/TARGETS +++ b/test/other_tools/git_operations/TARGETS @@ -25,7 +25,7 @@ } , "git_repo_remote": { "type": ["@", "rules", "CC/test", "test"] - , "name": ["git_repo_remote_test"] + , "name": ["git_repo_remote"] , "srcs": ["git_repo_remote.test.cpp"] , "data": [["test/buildtool/file_system", "test_data"]] , "private-deps": diff --git a/test/other_tools/utils/TARGETS b/test/other_tools/utils/TARGETS index 03222dc2..42d243f5 100644 --- a/test/other_tools/utils/TARGETS +++ b/test/other_tools/utils/TARGETS @@ -14,7 +14,7 @@ , "curl_usage_install": { "type": ["@", "rules", "CC", "binary"] , "tainted": ["test"] - , "name": ["curl_usage"] + , "name": ["curl_usage_install"] , "srcs": ["curl_usage.test.cpp"] , "private-deps": [ ["@", "catch2", "", "catch2"] @@ -25,9 +25,9 @@ ] , "stage": ["test", "other_tools", "utils"] } -, "curl_usage_test": +, "curl_usage": { "type": ["@", "rules", "shell/test", "script"] - , "name": ["curl_usage_test"] + , "name": ["curl_usage"] , "test": ["curl_usage_test.sh"] , "deps": [["test/utils", "test_utils_install"], "curl_usage_install"] } @@ -45,6 +45,6 @@ , "TESTS": { "type": "install" , "tainted": ["test"] - , "deps": ["archive_usage", "curl_usage_test", "curl_url"] + , "deps": ["archive_usage", "curl_usage", "curl_url"] } } diff --git a/test/other_tools/utils/curl_usage_test.sh b/test/other_tools/utils/curl_usage_test.sh index 838b5c17..4da397de 100644 --- a/test/other_tools/utils/curl_usage_test.sh +++ b/test/other_tools/utils/curl_usage_test.sh @@ -48,7 +48,7 @@ cd "${ROOT}" echo "Run curl usage test" error=false -test/other_tools/utils/curl_usage & res=$! +test/other_tools/utils/curl_usage_install & res=$! wait $res if [ $? -ne 0 ]; then error=true |