1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-02 14:04:15 +00:00

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
```
This commit is contained in:
Gleb Popov 2025-06-30 16:24:16 +03:00 committed by GitHub
parent 483e13b389
commit e61045052e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ consistency:
test: test-fast test: test-fast
test-fast: test-fast:
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 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
test-old: test-old:
$(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests $(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests