Skip to content

Commit 090e686

Browse files
Fix the test target
Without this change running `make test` results in ``` LD_PRELOAD=./libcpuid/.libs/libcpuid.so ./tests/run_tests.py ./cpuid_tool/.libs/cpuid_tool --show-test-fast-warning ./tests usage: run_tests.py [-h] [--fix | --no-fix] [--show-test-fast-warning | --no-show-test-fast-warning] [cpuid_tool] input_test_files [input_test_files ...] run_tests.py: error: argument cpuid_tool: ./build/cpuid_tool/cpuid_tool is not a file ```
1 parent 483e13b commit 090e686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ consistency:
1818
test: test-fast
1919

2020
test-fast:
21-
LD_PRELOAD=$(top_builddir)/libcpuid/.libs/libcpuid.so $(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/.libs/cpuid_tool --show-test-fast-warning $(top_srcdir)/tests
21+
LD_PRELOAD=$(top_builddir)/libcpuid/.libs/libcpuid.so $(top_srcdir)/tests/run_tests.py --show-test-fast-warning $(top_builddir)/cpuid_tool/.libs/cpuid_tool $(top_srcdir)/tests
2222

2323
test-old:
2424
$(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests

0 commit comments

Comments
 (0)