aboutsummaryrefslogtreecommitdiff
path: root/tests/test/config-test/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-11 10:14:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-12 10:58:19 +0200
commit9bf93c1ab73ee3cd2b763285fc5fc5456e972854 (patch)
tree0357c36e12fe2137ef6c9bd228e9d69bb2489a02 /tests/test/config-test/driver.cxx
parent33ed305eac57bff406fa3f672ba8acc4941e8f13 (diff)
Implement support for narrowing down tests (config.test)
Diffstat (limited to 'tests/test/config-test/driver.cxx')
-rw-r--r--tests/test/config-test/driver.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test/config-test/driver.cxx b/tests/test/config-test/driver.cxx
new file mode 100644
index 0000000..1da7c9d
--- /dev/null
+++ b/tests/test/config-test/driver.cxx
@@ -0,0 +1,19 @@
+// file : tests/test/config-test/driver.cxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#include <iostream>
+
+using namespace std;
+
+int
+main (int argc, char* argv[])
+{
+ if (argc != 2)
+ {
+ cerr << "usage: " << argv[0] << " <arg>" << endl;
+ return 1;
+ }
+
+ cout << argv[1] << endl;
+}