aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-test.hxx
blob: c9ec3394ae018c1a18c5b755fbfdca222c5fb3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// file      : bpkg/pkg-test.hxx -*- C++ -*-
// 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::group_scanner& args)
  {
    return pkg_command ("test",
                        o,
                        "" /* cmd_variant */,
                        o.recursive (),
                        o.immediate (),
                        o.all (),
                        o.package_cwd (),
                        args);
  }
}

#endif // BPKG_PKG_TEST_HXX