aboutsummaryrefslogtreecommitdiff
path: root/util/run_tests
diff options
context:
space:
mode:
authorNicholas DeMarinis <ndemarinis@wpi.edu>2023-09-14 11:05:53 -0400
committerNicholas DeMarinis <ndemarinis@wpi.edu>2023-09-14 11:05:53 -0400
commit3ee5497694b5262a5e856095415fbcfbda339645 (patch)
treef702e1047fc2259f33410342055506cb30980470 /util/run_tests
parenta69685e131b9568759883c881f86c75501751827 (diff)
run_tests: Fixed issue where control tests would actually run server tests.
Diffstat (limited to 'util/run_tests')
-rwxr-xr-xutil/run_tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/run_tests b/util/run_tests
index 4dbdf4b..e24d1a2 100755
--- a/util/run_tests
+++ b/util/run_tests
@@ -94,12 +94,12 @@ do_server() {
}
do_control() {
- check_exists "${bin_dir}/snowcast_server"
- run_tester server_tester $@
+ check_exists "${bin_dir}/snowcast_control"
+ run_tester control_tester $@
}
do_milestone() {
- do_control -test.run="Test.+?/Test(ConnectsToServer|AcceptsClientConnection|CompletesHandshake)"
+ do_control -test.v -test.run="Test.+?/Test(ConnectsToServer|AcceptsClientConnection|CompletesHandshake)"
do_server -test.v -test.run="Test.+?/Test(ConnectsToServer|AcceptsClientConnection|CompletesHandshake)"
}