Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split tests into directories and run them with "make check" #24

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

rodarima
Copy link
Member

@rodarima rodarima commented Dec 21, 2023

Graphical tests for the Dillo Widget (dw) are moved into test/dw, the rest of unit tests are in test/unit.

Most of the tests require manual intervention from humans. This MR makes some of the unit tests work on their own.

See #15

rodarima and others added 4 commits December 21, 2023 01:05
Graphical tests for the dw (Dillo Widget) are moved to test/dw, while
unit tests are placed into test/unit.

All tests are compiled with "make check" but only the tests that can run
without intervention and without a graphic display are executed.
The hyphenation files are manually specified from the local file, so
they are always the same.
The asserts only take effect when building with them enabled.
They are now relative to the root directory of the project, instead of
relative to the test file location.
The hyphenation test fails without them.
@rodarima rodarima merged commit 4314801 into master Dec 21, 2023
1 check passed
@rodarima rodarima deleted the add-tests branch December 21, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant