Refactoring: Modify test for incompatible ABI version
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user