Refactoring: Modify test for incompatible ABI version

This commit is contained in:
Nikolay Krasko
2014-11-10 18:17:01 +03:00
parent c242665cd3
commit 5555e28bfb
13 changed files with 18 additions and 17 deletions
@@ -1,13 +0,0 @@
/*
To regenerate this test:
1. Change JvmAbi.VERSION to -1
2. Run 'ant dist'
3. Rename this file and wrong-package: delete 'txt' extension
4. Compile two files with the newly built compiler from dist/
5. Rename files back: add 'txt' extension
6. Change JvmAbi.VERSION back to its old value
7. Run 'ant dist'
After these steps, the test should succeed
*/
class ClassWithWrongAbiVersion
@@ -0,0 +1,13 @@
/*
To regenerate this test:
1. Change JvmAbi.VERSION to -1
2. Run 'ant dist'
3. Compile files with the newly built compiler from dist/
cd compiler/testData/cli/jvm/wrongAbiVersionLib
../../../../../dist/kotlinc/bin/kotlinc -d bin src/*
4. Change JvmAbi.VERSION back to its old value
5. Run 'ant dist'
After these steps, the test should succeed
*/
@@ -0,0 +1 @@
class ClassWithWrongAbiVersion