summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/os/TestElfReader01.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-02-08 19:28:39 +0100
committerSven Gothel <[email protected]>2013-02-08 19:28:39 +0100
commita47d19d59cc8772dcf1ef67083c4401d913ad8d2 (patch)
tree1a29f2a539bb44428851285227541eb4b812ad73 /src/junit/com/jogamp/common/os/TestElfReader01.java
parent371e1dbff6f5f255ab27ed0ab32368abb06eed82 (diff)
TestElfReader01.testGNULinuxSelfExe: Restrict to LINUX
Diffstat (limited to 'src/junit/com/jogamp/common/os/TestElfReader01.java')
-rw-r--r--src/junit/com/jogamp/common/os/TestElfReader01.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/common/os/TestElfReader01.java b/src/junit/com/jogamp/common/os/TestElfReader01.java
index c04f2ac..1f42067 100644
--- a/src/junit/com/jogamp/common/os/TestElfReader01.java
+++ b/src/junit/com/jogamp/common/os/TestElfReader01.java
@@ -14,6 +14,7 @@ import jogamp.common.os.elf.SectionHeader;
import org.junit.Test;
+import com.jogamp.common.os.Platform.OSType;
import com.jogamp.junit.util.JunitTracer;
public class TestElfReader01 extends JunitTracer {
@@ -23,7 +24,9 @@ public class TestElfReader01 extends JunitTracer {
@Test
public void testGNULinuxSelfExe () throws IOException {
- testElfHeaderImpl(GNU_LINUX_SELF_EXE, false);
+ if( OSType.LINUX == Platform.getOSType() ) {
+ testElfHeaderImpl(GNU_LINUX_SELF_EXE, false);
+ }
}
// @Test