There are currently several race conditions between tests in the test-suite which prevents them from being build and/or tested in parallel. Several tests produce the same module file at build-time while others create/read/write the same file at runtime. This patch does the following:
- A separate module directory is created for each test. Any .mod files produced by the test will be written into that module. In the case of multi-file tests, modules produced by any file will be written to that same directory.
- A separate working directory is created for each "execute" test and the test suite is instructed to run the test in that directory. The tests, as they are currently written, create/write/read files from $PWD. This ensures that files created by different tests do not conflict.
- The tests that were previously disabled because of these race conditions have been enabled.
Makes sense.