1
0
mirror of https://gitlab.com/bzip2/bzip2.git synced 2025-09-19 06:01:35 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Micah Snyder
857640da70 CI (Windows): Fix bzip2.exe path for tests 2022-07-17 04:40:54 +00:00
Micah Snyder
7b4dd6d3ac Meson: make valgrind optional; CI: install valgrind 2022-07-17 04:40:54 +00:00
Micah Snyder
7468369d2a Remove legacy Windows nmake build system 2022-07-17 04:40:54 +00:00
Micah Snyder
2a22f41879 Tests: Remodel test suite; Add large test suite
Remodel test suite using Python unittests.

Add more thorough test cases for original "quick" test suite.
Add in automatic Valgrind testing for the "quick" test suite on Linux if
Valgrind was detected at build-time.

Add larger suite of assorted .bz2 test files as git submodule.

Updates to the Compiling documentation.

Increased the minimum Meson version to 0.56 because this commit uses the
`fs` module that was introduced in 0.56.

Added Python 3's `pytest` as a required module for running the tests
when using Meson.
2022-07-17 04:40:54 +00:00
Micah Snyder
2221ed3deb Test: discard BZIP/BZIP2 vars before testing
The tests may fail if the BZIP or BZIP2 environment variables are set.
To reproduce the issue, run:

  BZIP2="--derp" ctest -V

This commit discards those variables before running the tests.

Resolves: https://gitlab.com/bzip2/bzip2/-/issues/31

Fix courtesy of Michael Orlitzky
2021-07-10 03:08:58 -07:00
Micah Snyder
44032388da Tests: print actual v. expected on test failure
The compress -3 test is failing on Windows.
This change will print a hex dump in a left/right format to help
triage the failed test.
2021-06-01 09:37:16 -07:00
Micah Snyder
4cb6ecfd34 CMake: Run tests with correct options 2021-06-01 09:36:57 -07:00
Dylan Baker
3ea0df8d80 tests/runtests.py: Compare the actual and expected output
Which should have been done from the get-go, but I just didn't do.
2021-05-31 12:56:25 -07:00
Dylan Baker
917f66c56e meson: make test output more verbose 2021-05-31 12:56:25 -07:00
Dmitry Kargin
8e70ae1957 APP tests are disabled if app is not built 2020-11-08 19:05:44 +03:00
Isuru Fernando
f85224356b Use generator expressions for target file 2020-09-06 22:34:22 -05:00
Micah Snyder
e264a7f7c4 Add CMake build system. 2019-06-09 19:13:08 -04:00
Dylan Baker
f6f3326c69 Move tests into a tests/ directory
I've updated autotools, meson, and the makefile.msc, though I haven't
verified tat the nmake file works.
2019-06-06 14:18:47 -07:00