commit | author | age
|
80dabe
|
1 |
# |
MT |
2 |
# This file and its contents are supplied under the terms of the |
|
3 |
# Common Development and Distribution License ("CDDL"), version 1.0. |
|
4 |
# You may only use this file in accordance with the terms of version |
|
5 |
# 1.0 of the CDDL. |
|
6 |
# |
|
7 |
# A full copy of the text of the CDDL should have accompanied this |
|
8 |
# source. A copy of the CDDL is also available via the Internet at |
|
9 |
# http://www.illumos.org/license/CDDL. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2023 Marcel Telka |
|
14 |
# |
|
15 |
|
|
16 |
%patch% 02-test_int_pow.patch |
|
17 |
%patch% 03-gmake.patch |
|
18 |
%patch% 04-test-no-time.patch |
be554f
|
19 |
%patch% 05-test_beta.patch |
80dabe
|
20 |
|
MT |
21 |
%include-3% |
220b65
|
22 |
# Use well known path for Cython cache directory |
MT |
23 |
COMPONENT_TEST_ENV += CYTHON_CACHE_DIR=$(@D)/.cython-cache-dir |
0e3a34
|
24 |
# Testing installs packages using pip so direct it to private directory |
MT |
25 |
COMPONENT_TEST_ENV += PYTHONUSERBASE=$(@D)/.python-user-base |
80dabe
|
26 |
|
MT |
27 |
# Normalize tmp dir name |
|
28 |
COMPONENT_TEST_TRANSFORMS += "-e 's|\(TEST_TMP/cycache-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'" |
be554f
|
29 |
COMPONENT_TEST_TRANSFORMS += "-e 's|\(TEST_TMP/recythonize-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'" |
80dabe
|
30 |
# Normalize pointer |
220b65
|
31 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(Broken object at \)0x[a-f0-9]\{1,\}>/\1\$$(POINTER)>/g'" |
MT |
32 |
# Remove line with private path |
|
33 |
COMPONENT_TEST_TRANSFORMS += "-e '/^libgcov profiling error:/d'" |
be554f
|
34 |
# Remove profiling info |
MT |
35 |
COMPONENT_TEST_TRANSFORMS += "-e '/^Most expensive pipeline stages:/d'" |
a88589
|
36 |
|
MT |
37 |
# https://github.com/OpenIndiana/oi-userland/pull/16549#issuecomment-2037519250 |
|
38 |
TEST_CONFLICTING_PACKAGES.python += library/python/numpy |