Skip to content

Commit

Permalink
wip for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Feb 11, 2024
1 parent 8beb04c commit ed72c3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ jobs:
shell: bash
run: |
export ASAN_OPTIONS=detect_odr_violation=0
./unittests '*'
echo "> ls" && ls
echo "> ls tests" && ls tests
echo "> ls tests/unittests" && ls tests/unittests
echo "> ls tests/unittests/resources" && ls tests/unittests/resources
./unittests
- name: Unit tests
shell: bash
Expand Down
7 changes: 2 additions & 5 deletions tests/unittests/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#include <boost/ut.hpp>

int main(int argc, const char** argv)
int main()
{
using namespace boost;
using namespace boost::ut::literals;
using namespace boost::ut::operators;

ut::expect((argc == 2_i) >> ut::fatal) << "Not enough parameters!";
ut::cfg<ut::override> = { .filter = argv[1] };
ut::cfg<ut::override> = { .filter = "*" };
return ut::cfg<ut::override>.run();
}

0 comments on commit ed72c3d

Please sign in to comment.