+ same warning on the other "TestCompilerXyz" file

This commit is contained in:
meisl 2021-06-28 18:49:01 +02:00
parent 84ea3b9788
commit 006059438f

View File

@ -15,6 +15,14 @@ import prog8.compiler.target.Cx16Target
import prog8.compiler.compileProgram import prog8.compiler.compileProgram
/**
* ATTENTION: this is just kludge!
* They are not really unit tests, but rather tests of the whole process,
* from source file loading all the way through to running 64tass.
* What's more: in case of failure (to compile and assemble) - which is when tests should help you -
* these tests will actually be ignored (ie. NOT fail),
* because in the code there are calls to Process.exit, making it essentially untestable.
*/
@TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestInstance(TestInstance.Lifecycle.PER_CLASS)
class TestCompilerOnCharLit { class TestCompilerOnCharLit {
val workingDir = Path("").absolute() // Note: Path(".") does NOT work..! val workingDir = Path("").absolute() // Note: Path(".") does NOT work..!