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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
From 1b23539aece156f6fe0789cb988f22e5915228f6 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 10 Nov 2020 17:12:32 +0000
Subject: [PATCH 1/2] generated_tests/gen_tcs/tes_input_tests.py: do not
hardcode the full binary path
This helps reproducibility.
Upstream-Status: Pending
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
generated_tests/gen_tcs_input_tests.py | 2 +-
generated_tests/gen_tes_input_tests.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/generated_tests/gen_tcs_input_tests.py b/generated_tests/gen_tcs_input_tests.py
index face4f19a..e36671af4 100644
--- a/generated_tests/gen_tcs_input_tests.py
+++ b/generated_tests/gen_tcs_input_tests.py
@@ -272,7 +272,7 @@ class Test(object):
relative probe rgb (0.75, 0.75) (0.0, 1.0, 0.0)
""")
- test = test.format(self=self, generator_command=" ".join(sys.argv))
+ test = test.format(self=self, generator_command="generated_tests/gen_tcs_input_tests.py")
filename = self.filename()
dirname = os.path.dirname(filename)
diff --git a/generated_tests/gen_tes_input_tests.py b/generated_tests/gen_tes_input_tests.py
index 3d847b5cc..954840b20 100644
--- a/generated_tests/gen_tes_input_tests.py
+++ b/generated_tests/gen_tes_input_tests.py
@@ -301,7 +301,7 @@ class Test(object):
relative probe rgb (0.75, 0.75) (0.0, 1.0, 0.0)
""")
- test = test.format(self=self, generator_command=" ".join(sys.argv))
+ test = test.format(self=self, generator_command="generated_tests/gen_tes_input_tests.py")
filename = self.filename()
dirname = os.path.dirname(filename)
--
2.17.1
|