Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit a720a1a

Browse files
alexreaperhulk
authored andcommitted
Simplified bizzaro code in the test runner (#98)
* Simplified bizzaro code in the test runner * more
1 parent 840aa70 commit a720a1a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/run_tests.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,10 @@ def main():
4040
)
4141
)
4242

43-
module = os.path.join(
44-
BASE_DIR,
45-
"target/x86_64-linux-kernel-module/debug/lib{}_tests.a".format(
46-
path.replace("-", "_")
47-
)
48-
)
4943
run(
5044
"make", "-C", BASE_DIR,
51-
"TEST_LIBRARY={}".format(
52-
os.path.join(
53-
"target/x86_64-linux-kernel-module/debug/",
54-
os.path.basename(module)
55-
)
45+
"TEST_LIBRARY=target/x86_64-linux-kernel-module/debug/lib{}_tests.a".format(
46+
path.replace("-", "_")
5647
),
5748
)
5849
run(

0 commit comments

Comments
 (0)