]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-profile-tests.patch
- profile-opt target also runs test suite, so we want to disable some tests there...
[packages/python3.git] / python3-profile-tests.patch
diff --git a/python3-profile-tests.patch b/python3-profile-tests.patch
new file mode 100644 (file)
index 0000000..11c0dc6
--- /dev/null
@@ -0,0 +1,11 @@
+--- Python-3.7.4/Makefile.pre.in~      2019-08-05 14:10:46.000000000 +0200
++++ Python-3.7.4/Makefile.pre.in       2019-08-05 14:37:01.691326225 +0200
+@@ -260,7 +260,7 @@ TCLTK_LIBS=        @TCLTK_LIBS@
+ # The task to run while instrumented when building the profile-opt target.
+ # We exclude unittests with -x that take a rediculious amount of time to
+ # run in the instrumented training build or do not provide much value.
+-PROFILE_TASK=-m test.regrtest --pgo
++PROFILE_TASK=-m test.regrtest --pgo $(TESTOPTS)
+ # report files for gcov / lcov coverage report
+ COVERAGE_INFO=        $(abs_builddir)/coverage.info
This page took 0.035219 seconds and 4 git commands to generate.