-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for reporting errors and warnings in dejagnu.h
- Loading branch information
Jacob Bachmeyer
committed
Dec 21, 2022
1 parent
4d82991
commit d807904
Showing
7 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
2022-12-20 Jacob Bachmeyer <[email protected]> | ||
|
||
* dejagnu.h (DG_error, DG_warning): New functions. | ||
(TestState::error, TestState::warning): New methods. | ||
* doc/dejagnu.texi (C unit testing API): Document new functions. | ||
(C++ unit testing API): Document new methods and fix an error: | ||
TestState::unsupported does not take varargs. | ||
* testsuite/libdejagnu/unit-c.c (main): Add support for testing | ||
errors and warnings. | ||
* testsuite/libdejagnu/unit-cxx.cxx (main): Likewise. | ||
* testsuite/libdejagnu/unit-ccxxmix.cxx (main): Likewise. | ||
* testsuite/libdejagnu/harness.exp: Add tests. | ||
(test_libdejagnu_unit): Add support for ERROR and WARNING tokens. | ||
|
||
* doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and | ||
WARNING tokens to DejaGnu unit testing protocol. | ||
* lib/dejagnu.exp (host_execute): Implement same. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters