fix tests build
This commit is contained in:
parent
6a31e4f6a9
commit
d3874216c0
|
@ -18,5 +18,8 @@ sudo apt-get install -qq -y libsdl2-dev > /dev/null
|
|||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=ON -B build
|
||||
cmake --build build -- -j 4
|
||||
|
||||
# test
|
||||
CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
|
||||
# package artifact
|
||||
tar -czvf linux-amd64.tar.gz build/dethrace
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include "common/loading.h"
|
||||
#include "common/utility.h"
|
||||
|
||||
extern int _unittest_controls_lastGetPowerup;
|
||||
|
||||
void test_controls_CheckKevKeys() {
|
||||
int i;
|
||||
char* input = "spamfritters";
|
||||
|
|
Loading…
Reference in New Issue