[libinline-java-perl] 155/398: Renamed test files

Jonas Smedegaard dr at jones.dk
Thu Feb 26 11:42:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.55
in repository libinline-java-perl.

commit f4b1475abe374c3b7ab9ec8f6f34335a65cda42b
Author: patrick_leb <>
Date:   Mon Jan 28 21:24:32 2002 +0000

    Renamed test files
---
 Java.pm                                |  7 +++----
 MANIFEST                               | 12 ++++++++----
 t/{12_exceptions.t => 11_exceptions.t} |  0
 t/{13_callbacks.t => 12_callbacks.t}   |  0
 4 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/Java.pm b/Java.pm
index f87c8de..becf9c7 100644
--- a/Java.pm
+++ b/Java.pm
@@ -356,7 +356,7 @@ sub build {
 	}
 
 	my $code = $o->get_api('code') ;
-	my $study_only = ($code eq 'STUDY') ;
+	my $study_only = ($code =~ /(STUDY|SERVER)/) ;
 
 	$o->write_java($study_only, $code) ;
 	$o->compile($study_only) ;
@@ -592,9 +592,8 @@ sub load {
 		my $st = $pc->ServerType() ;
 		if ((($st eq "shared")&&(! $o->get_java_config('SHARED_JVM')))||
 			(($st eq "private")&&($o->get_java_config('SHARED_JVM')))){
-			set_DONE() ;
-			croak "JVM type mismatch on port " . $o->get_java_config('PORT') ;
-		}
+				croak "JVM type mismatch on port " . $o->get_java_config('PORT') ;
+			}
 	}
 
 	# Add our Inline object to the list.
diff --git a/MANIFEST b/MANIFEST
index 53f8109..5734ba8 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -26,11 +26,15 @@ t/05_arrays.t
 t/06_static.t
 t/07_polymorph.t
 t/08_study.t
-t/09_shared_alone.t
+t/09_usages.t
 t/10_shared_mult.t
-t/11_shared_fork.t
-t/12_exceptions.t
-t/13_callbacks.t
+t/10_1_shared_alone.t
+t/10_2_shared_start.t
+t/10_3_shared_use.t
+t/10_4_shared_stop.t
+t/10_5_shared_fork.t
+t/11_exceptions.t
+t/12_callbacks.t
 t/types.java
 t/types.class
 t/no_const.java
diff --git a/t/12_exceptions.t b/t/11_exceptions.t
old mode 100644
new mode 100755
similarity index 100%
rename from t/12_exceptions.t
rename to t/11_exceptions.t
diff --git a/t/13_callbacks.t b/t/12_callbacks.t
old mode 100644
new mode 100755
similarity index 100%
rename from t/13_callbacks.t
rename to t/12_callbacks.t

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git



More information about the Pkg-perl-cvs-commits mailing list