tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
eztrace: use ctestCheckHook
Sergei Zimmerman
9 months ago
5eb77369
a429add2
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ez
eztrace
package.nix
+6
-2
pkgs/by-name/ez/eztrace/package.nix
···
9
9
libbfd,
10
10
libopcodes,
11
11
otf2,
12
12
+
ctestCheckHook,
12
13
versionCheckHook,
13
14
}:
14
15
···
54
55
55
56
cmakeFlags = [
56
57
(lib.cmakeBool "EZTRACE_ENABLE_MEMORY" true)
57
57
-
# This test is somewhat flaky and fails once per several rebuilds.
58
58
-
(lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--exclude-regex;memory_tests")
59
58
];
60
59
61
60
nativeBuildInputs = [
···
72
71
];
73
72
74
73
doCheck = true;
74
74
+
disabledTests = [
75
75
+
# This test is somewhat flaky and fails once per several rebuilds.
76
76
+
"memory_tests"
77
77
+
];
75
78
nativeCheckInputs = [
76
79
otf2 # `otf2-print` needed by compiler_instrumentation_tests,pthread_tests,posixio_tests
80
80
+
ctestCheckHook
77
81
];
78
82
79
83
postInstall = ''