1
0
mirror of https://gitlab.com/bzip2/bzip2.git synced 2025-09-10 20:31:49 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
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
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
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