62 Commits

Author SHA1 Message Date
Marc Di Luzio
cbf7f975d3 Add basic framework to do some script tests 2019-02-20 17:53:13 +00:00
Marc Di Luzio
6ba74284b9 Add test to verify that governor setting works 2019-02-20 17:53:13 +00:00
Marc Di Luzio
7773e5d8b7 Use the logging macros for tests 2019-02-20 17:53:13 +00:00
Marc Di Luzio
97cfc3bb17 Add game_mode_run_feature_tests to start putting feature tests 2019-02-20 17:53:13 +00:00
Marc Di Luzio
cc646fe5d2 Fix bug in tests: mypath contained junk so wasn't always null terminated 2019-02-06 19:24:55 +00:00
Marc Di Luzio
3ae26596bc Fix up logging in the tests to use our macros 2019-02-06 19:11:12 +00:00
Marc Di Luzio
f09ce2a96c Add a required NULL to execl
And add a more descriptive error for issue #100
2019-02-05 21:30:14 +00:00
Marc Di Luzio
f0816230d7 Correct error message when the initial query fails 2019-01-28 16:36:08 +00:00
Marc Di Luzio
0eece55433 Improve the test output 2019-01-28 16:36:08 +00:00
Marc Di Luzio
b97182141f Properly handle quitting by request, and use that in the tests 2019-01-28 16:36:08 +00:00
Marc Di Luzio
c99e06ed9e Small refactor
Single and dual client tests split into functions
2019-01-28 16:36:08 +00:00
Marc Di Luzio
0b4e86651e Add a preliminary client test suite
This simply tests the current functionality of the gamemode_client tools by calling each function in turn and checking the values return correctly.

	Requires the gamemode service to currently be running and installed on the system.
2019-01-28 16:36:08 +00:00