-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inject absolute paths into "expected output" files
Add feature so that the system tests can inject absolute paths into *.lobster files, which represent the expected outcome of a test. It works like this: 1. If a *.lobster file in the `expected-output` folder contains the string `TEST_CASE_PATH`, then this string is replaced with the absolute path of the test case folder. 2. Afterwards the content of the actual output file is compared against this modified file. This way it is possible to compare *.lobster files that contain absolute paths against their expected content. `lobster-cpptest` needs this feature. simplification
- Loading branch information
Showing
1 changed file
with
23 additions
and
8 deletions.
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