This suite contains Libcxx tests from llvm-project that are built and run in Alpine OS.
make testsTo run a particular test:
make one TEST=testnameThe tests have been segregated into files based on their state (running/failing/how are they failing). The following key applies -
ALL TESTS
- tests.all: All the tests in libcxx that we have (pass + fail)
PASSING
- tests.passed: All tests that pass
FAILING
- tests.failed: Tests that fail
- tests.failedalpine: Tests that fail outside of mystikos
- tests.remove: Flaky tests that cause memory errors in the pipeline
In order to divide the suite into the above files, you can make use of the run_tests_locally.sh script. It will iterate over whichever file you give it, and divide it into two files, containing "passed" or "other_errors" (failed) tests. To make this process faster, change this line OPTS += --memory-size=512m in the Makefile to allocate lesser memory for the process, since we are running one test at a time here.
Usage: ./run_tests_locally <filename> eg: ./run_tests_locally tests.all