Conversation
|
Maybe we should switch to using ocamlformat's features to enable/disable tests when running with flambda, rather than the current list of folders ? |
|
In due course perhaps (I presume you mean dune not ocamlformat?). One step at a time... |
Oups, I meant ocamltest: the current list of test folders to run is used with the upstream testsuite, which uses ocamltest, where one can disable tests by adding a few lines in the test definition at the top of the test file. |
|
I certainly agree that using |
This pull request changes the logic behind the file named
"testsuite/flambda2-test-list" in order to explicitly exclude
test directories rather than explicitly include such directories.
We expect its maintenance to be easier that way, and in
particular there is no risks to forget to add a newly-created
directory.
This pull request is possibly best reviewed commit-by-commit:
simply a minor clean-up, leaving the semantics of the file
unchanged;
In order to double check that the last commit behaves as
expected, I diffed
_runtest/flambda2-test-listbefore/after,and got:
which basically means that (i) the aforementioned clean-up
was not perfect and (ii) no tests were lost in the process.