From 60204a9e99b9d45b27ca4970a2bdbdb97dd398a1 Mon Sep 17 00:00:00 2001 From: Cong Date: Wed, 19 Jun 2013 22:24:05 +1000 Subject: [PATCH] Fix GCC warning about unused cbehave test --- make.sh | 3 +++ src/tests/config_test.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 0684a7ef5..30bd40b0c 100755 --- a/make.sh +++ b/make.sh @@ -1,4 +1,7 @@ #!/bin/sh + +# To create a debug build, run `cmake -D CMAKE_BUILD_TYPE=Debug .` instead + cd src UNAME_SHORT=`uname -s | cut -c1-5` if [ "$UNAME_SHORT" = "MINGW" ] ; then diff --git a/src/tests/config_test.c b/src/tests/config_test.c index 844f29296..21dd4196f 100644 --- a/src/tests/config_test.c +++ b/src/tests/config_test.c @@ -174,7 +174,8 @@ int main(void) {feature_idx(1)}, {feature_idx(2)}, {feature_idx(3)}, - {feature_idx(4)} + {feature_idx(4)}, + {feature_idx(5)} }; return cbehave_runner("Config features are:", features);