Skip to content

Commit eacb1fe

Browse files
committed
linux: Disable shared texture test
1 parent 4af5925 commit eacb1fe

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

test/jdk/jb/SharedTextures/SharedTexturesTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@
3939
* @requires (os.family=="windows")
4040
*/
4141

42-
/**
43-
* @test
44-
* @key headful
45-
* @summary The test creates a BufferedImage and makes a texture from its content.
46-
* The texture gets wrapped into a TextureWrapperImage image by SharedTextures JBR API service.
47-
* The TextureWrapperImage is copied into a BufferedImage and VolatileImage and expects that all images have
48-
* the same content.
49-
* @library /test/lib
50-
* @compile --add-exports java.desktop/com.jetbrains.desktop=ALL-UNNAMED SharedTexturesTest.java
51-
* @run main/othervm/native -Dsun.java2d.uiScale=1 -Dsun.java2d.opengl=True --enable-native-access=ALL-UNNAMED --add-exports java.desktop/com.jetbrains.desktop=ALL-UNNAMED SharedTexturesTest
52-
* @requires (os.family=="linux")
53-
*/
54-
5542
public class SharedTexturesTest {
5643
static {
5744
System.loadLibrary("SharedTexturesTest");

test/jdk/jb/SharedTextures/libSharedTexturesTest.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef LINUX // remove this line to this text compile on Linux
2+
13
#include <jni.h>
24
#include <stdlib.h>
35

@@ -278,3 +280,5 @@ JNIEXPORT void JNICALL Java_SharedTexturesTest_disposeTexture
278280
glDeleteTextures(1, &texId);
279281
}
280282
}
283+
284+
#endif // remove this line to this text compile on Linux

0 commit comments

Comments
 (0)