diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-02-11 10:29:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-02-11 10:29:13 +0000 |
commit | b654c571a222d4099e4c42922de9d8ed5c92e332 (patch) | |
tree | a2049cbf576c8f05263b61733c5b945caf2ae158 /lib | |
parent | 8a058d8e37ccd6b4ab538bcf854a71a57f47273c (diff) |
Give tests access to the list of tests requested by the user.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/Test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h index f318c811..7afa0448 100644 --- a/lib/common/Test.h +++ b/lib/common/Test.h @@ -11,6 +11,7 @@ #define TEST__H #include <cstring> +#include <list> #ifdef WIN32 #define BBACKUPCTL "..\\..\\bin\\bbackupctl\\bbackupctl.exe" @@ -32,6 +33,7 @@ extern int failures; extern int first_fail_line; extern std::string first_fail_file; extern std::string bbackupd_args, bbstored_args, bbackupquery_args, test_args; +extern std::list<std::string> run_only_named_tests; #define TEST_FAIL_WITH_MESSAGE(msg) \ { \ |