File: ctest.pm

package info (click to toggle)
dh-cmake 0.6.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 392 kB
  • sloc: python: 2,252; perl: 26; makefile: 6; ansic: 6; sh: 2
file content (25 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (2)
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
# This file is part of dh-cmake, and is distributed under the OSI-approved
# BSD 3-Clause license. See top-level LICENSE file or
# https://gitlab.kitware.com/debian/dh-cmake/blob/master/LICENSE for details.

use warnings;
use strict;
use Debian::Debhelper::Dh_Lib;

insert_before("dh_auto_configure", "dh_ctest_configure");
remove_command("dh_auto_configure");

insert_before("dh_auto_build", "dh_ctest_build");
remove_command("dh_auto_build");

insert_before("dh_auto_test", "dh_ctest_test");
remove_command("dh_auto_test");

insert_before("dh_ctest_configure", "dh_ctest_start");
insert_after("dh_ctest_start", "dh_ctest_update");

insert_after("dh_ctest_test", "dh_ctest_submit");

insert_before("dh_clean", "dh_ctest_clean");

1;