Closed Sebanisu closed 3 years ago
No prob I'll fix it in a bit. Taking a break.
gmmf # 0.150 seconds, Exception: SegFault, Only on Windows, #bus errors, unstable on CI?
gmmf1s # 0.110 seconds, Exception: SegFault, Only on Windows
gmmf1u # 0.260 seconds, Exception: SegFault, Only on Windows
gmmf1w # 0.110 seconds, Exception: SegFault, Only on Windows
I enabled all tests and ran on the CI these passed so i removed them from disabled. Though maybe they were disabled because they were unstable tests per comment? Anything that passed on CI when i tried I had enabled. So things might need to be disabled again. I meant to put this on my pr. Sorry I had posted this on the issue.
So this should be better now more tests were moved to slow around 3-4 seconds on my pc.
To filter/sort tests by time the lists clion has a dump test results to xml. Then I used a site that converts xml to csv. Once I got all the data grouped up I copied the columns into the CMakeLists.txt.
Currently have the three lists. One for fast test, one for slow tests and I put the disabled tests into their own list. I created a function out of the for each loop. So you can choose what list gets added and what the prefix on the testname is.
Running tests works fine:
To only run fast or slow tests:
Disabled Tests Note
The disabled_test_cases are still commented out but if you wanted to uncomment them you could run them only by using
Removed Add Custom Target
I had a
add_custom_target
but it wasn't showing output when ran from ninja and clion didn't know what to do with it. So I removed it from theCMakeLists.txt
. If someone knows a way to make it work, than you don't need to run ctest directly.resolves https://github.com/codereport/jsource/issues/16 referenced prefix idea from https://stackoverflow.com/a/28710462/2588183