2 | 2 |
Subject: Use system python3-cram
|
3 | 3 |
|
4 | 4 |
---
|
5 | |
tests/CMakeLists.txt | 2 +-
|
6 | |
tests/ccram | 2 +-
|
7 | |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
5 |
tests/CMakeLists.txt | 3 +--
|
|
6 |
tests/ccram | 4 ++--
|
|
7 |
2 files changed, 3 insertions(+), 4 deletions(-)
|
8 | 8 |
|
9 | 9 |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
10 | |
index afa2d3f..68f5483 100644
|
|
10 |
index afa2d3f..9a4cd46 100644
|
11 | 11 |
--- a/tests/CMakeLists.txt
|
12 | 12 |
+++ b/tests/CMakeLists.txt
|
13 | 13 |
@@ -82,7 +82,7 @@ make_u128_suite(sub)
|
|
19 | 19 |
endif (NOT CRAM_EXECUTABLE)
|
20 | 20 |
|
21 | 21 |
if (PYTHON_EXECUTABLE)
|
|
22 |
@@ -94,7 +94,6 @@ if (PYTHON_EXECUTABLE)
|
|
23 |
${TEST_NAME}
|
|
24 |
${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR}
|
|
25 |
${CMAKE_BINARY_DIR}/ccram
|
|
26 |
- --python ${PYTHON_EXECUTABLE}
|
|
27 |
--root ${CMAKE_SOURCE_DIR}
|
|
28 |
--build ${CMAKE_BINARY_DIR}/src
|
|
29 |
--cram ${CRAM_EXECUTABLE}
|
22 | 30 |
diff --git a/tests/ccram b/tests/ccram
|
23 | |
index 6eb3766..3446049 100755
|
|
31 |
index 6eb3766..7bee3e7 100755
|
24 | 32 |
--- a/tests/ccram
|
25 | 33 |
+++ b/tests/ccram
|
|
34 |
@@ -7,7 +7,7 @@ if [ "$1" = "--python" ]; then
|
|
35 |
PYTHON="$1"
|
|
36 |
shift
|
|
37 |
else
|
|
38 |
- PYTHON=python
|
|
39 |
+ PYTHON=python3
|
|
40 |
fi
|
|
41 |
|
|
42 |
if [ "$1" = "--root" ]; then
|
26 | 43 |
@@ -31,7 +31,7 @@ if [ "$1" = "--cram" ]; then
|
27 | 44 |
CRAM="$1"
|
28 | 45 |
shift
|