From 3c65e32f0af354db771c8b4cc1c840ec37a60407 Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Fri, 25 Apr 2014 16:31:51 -0700 Subject: Enabling natives tests --- build.gradle | 2 ++ .../test/java7/com/github/dcevm/test/natives/SimpleNativeTest.java | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 88e06736..77b0f086 100644 --- a/build.gradle +++ b/build.gradle @@ -187,6 +187,7 @@ project('dcevm') { jvmArgs(project.oops == "compressed" ? '-XX:+UseCompressedOops' : "-XX:-UseCompressedOops") } jvmArgs "-XX:TraceRedefineClasses=${traceRedefinition}" + jvmArgs "-Djava.library.path=../native/build" ignoreFailures = true outputs.upToDateWhen { false } @@ -195,6 +196,7 @@ project('dcevm') { } } + test.dependsOn project(':native').tasks['compile'] test.dependsOn project(':hotspot').tasks[kind == 'fastdebug' ? 'installFastdebug' : 'installProduct'] } diff --git a/dcevm/src/test/java7/com/github/dcevm/test/natives/SimpleNativeTest.java b/dcevm/src/test/java7/com/github/dcevm/test/natives/SimpleNativeTest.java index 1873ea60..23619837 100644 --- a/dcevm/src/test/java7/com/github/dcevm/test/natives/SimpleNativeTest.java +++ b/dcevm/src/test/java7/com/github/dcevm/test/natives/SimpleNativeTest.java @@ -25,7 +25,6 @@ package com.github.dcevm.test.natives; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__; @@ -37,8 +36,10 @@ import static org.junit.Assert.assertEquals; * * @author Thomas Wuerthinger */ -@Ignore public class SimpleNativeTest { + static { + System.loadLibrary("natives"); + } @Before public void setUp() throws Exception { @@ -69,7 +70,6 @@ public class SimpleNativeTest { @Test public void testSimpleNativeCalls() { - assert __version__() == 0; -- cgit v1.2.3 e='Jerome-Herbinet-folder-tree-structure'>Jerome-Herbinet-folder-tree-structure Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.common.js
blob: 97ece513eac2c8596d2bd8f92f005d9d1a927fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133