From 6dc6f01359871356f4bc8b84ebcf1696febbd046 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 16 May 2009 02:01:32 -0600 Subject: [PATCH] move extra tests (not run as part of "make test") into "extra" package --- makefile | 2 +- test/extra/Memory.java | 2 ++ test/extra/RuntimeExec.java | 2 ++ test/extra/SendFile.java | 2 ++ test/extra/SendServer.java | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 98694b3d1c..b0967894ad 100644 --- a/makefile +++ b/makefile @@ -299,7 +299,7 @@ classpath-classes = \ classpath-object = $(native-build)/classpath-jar.o classpath-dep = $(classpath-build)/dep -test-sources = $(wildcard $(test)/*.java) +test-sources = $(shell find $(test) -name '*.java') test-classes = $(call java-classes,$(test-sources),$(test),$(test-build)) test-dep = $(test-build)/dep diff --git a/test/extra/Memory.java b/test/extra/Memory.java index 24b837c716..b2e8cfbfea 100644 --- a/test/extra/Memory.java +++ b/test/extra/Memory.java @@ -1,3 +1,5 @@ +package extra; + import java.util.Collection; import java.util.Comparator; import java.util.HashMap; diff --git a/test/extra/RuntimeExec.java b/test/extra/RuntimeExec.java index 2895c61bf9..23adbb9105 100644 --- a/test/extra/RuntimeExec.java +++ b/test/extra/RuntimeExec.java @@ -1,3 +1,5 @@ +package extra; + import java.lang.Runtime; import java.lang.Process; diff --git a/test/extra/SendFile.java b/test/extra/SendFile.java index ad525a1e05..da77a33a21 100644 --- a/test/extra/SendFile.java +++ b/test/extra/SendFile.java @@ -1,3 +1,5 @@ +package extra; + import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.io.IOException; diff --git a/test/extra/SendServer.java b/test/extra/SendServer.java index e2877d3b22..5f60c962c1 100644 --- a/test/extra/SendServer.java +++ b/test/extra/SendServer.java @@ -1,3 +1,5 @@ +package extra; + import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey;