Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Oct 23, 2023
1 parent 6eb18f1 commit 2be67b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
run: cd docker && docker-compose up -d

# Run tests
- name: Build and Run Underpass Tests
- name: Build and Run Underpass Tests (FIXME: it never fails)
run: docker-compose -f docker-compose.yml exec -T underpass sh -c "cd /code/build && make check -j `nproc`"

3 changes: 1 addition & 2 deletions src/testsuite/libunderpass.all/yaml-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ main(int argc, char *argv[])
yaml.read(filespec);
// yaml.dump();

if (yaml.get("tags").children.size() > 10000) {
if (yaml.get("tags").children.size() > 0) {
runtest.pass("Yaml::get().children");
} else {
runtest.fail("Yaml::get().children");
exit(1);
}

if (yaml.contains_value("complete", "yes")) {
Expand Down

0 comments on commit 2be67b1

Please sign in to comment.