aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-test.hxx')
-rw-r--r--bpkg/pkg-test.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/bpkg/pkg-test.hxx b/bpkg/pkg-test.hxx
new file mode 100644
index 0000000..dd27c9c
--- /dev/null
+++ b/bpkg/pkg-test.hxx
@@ -0,0 +1,23 @@
+// file : bpkg/pkg-test.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BPKG_PKG_TEST_HXX
+#define BPKG_PKG_TEST_HXX
+
+#include <bpkg/types.hxx>
+#include <bpkg/utility.hxx>
+
+#include <bpkg/pkg-command.hxx>
+#include <bpkg/pkg-test-options.hxx>
+
+namespace bpkg
+{
+ inline int
+ pkg_test (const pkg_test_options& o, cli::scanner& args)
+ {
+ return pkg_command ("test", o, args);
+ }
+}
+
+#endif // BPKG_PKG_TEST_HXX