Hi Gerd
please have a look. Seems the build hangs again or the patch doesn't work on
unix. It works well on my machine.
What is happening is that the automatic builds set
_JAVA_OPTIONS=-Duser.home=/home/dir/to/use
This causes every java process to output "Picked up _JAVA_OPTIONS: ..." to
stderr.
So the tests that check for no stderr fail.
I can only suggest filtering out that line as in the attached patch.
Steve
Index: test/func/lib/Outputs.java
===================================================================
--- test/func/lib/Outputs.java (revision 4656)
+++ test/func/lib/Outputs.java (working copy)
@@ -16,6 +16,11 @@
*/
package func.lib;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+
import static org.junit.Assert.*;
/**
@@ -37,7 +42,9 @@
}
protected String getErr() {
- return err;
+ return Arrays.stream(err.split("\n"))
+ .filter(line -> !line.contains("_JAVA_OPTIONS"))
+ .collect(Collectors.joining("\n"));
}
/**
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev