aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-26 13:33:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-26 13:33:01 +0200
commit14f56876f64e7557ef695633b31e9a1c093f9c3e (patch)
treee47c6d10dd4462bf87e3acd613b5051f3ff791b5 /bpkg/pkg-test
parent07e22c767ea732368305a693e98122c147031c36 (diff)
Implement pkg-test|test command
Diffstat (limited to 'bpkg/pkg-test')
-rw-r--r--bpkg/pkg-test21
1 files changed, 21 insertions, 0 deletions
diff --git a/bpkg/pkg-test b/bpkg/pkg-test
new file mode 100644
index 0000000..cb42b14
--- /dev/null
+++ b/bpkg/pkg-test
@@ -0,0 +1,21 @@
+// file : bpkg/pkg-test -*- C++ -*-
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BPKG_PKG_TEST
+#define BPKG_PKG_TEST
+
+#include <bpkg/types>
+#include <bpkg/pkg-command>
+#include <bpkg/pkg-test-options>
+
+namespace bpkg
+{
+ inline int
+ pkg_test (const pkg_test_options& o, cli::scanner& args)
+ {
+ return pkg_command ("test", o, args);
+ }
+}
+
+#endif // BPKG_PKG_TEST