public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Provide a default list of tests to JniRunner.
@ 2008-04-30 16:09 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-04-30 16:09 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  9098065cb3da049818fc76987acd3d0c409694df (commit)
      from  a59ea0b8b7085297913ab65143244b6226ed5530 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 9098065cb3da049818fc76987acd3d0c409694df
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed Apr 30 12:08:44 2008 -0400

    Provide a default list of tests to JniRunner.
    
    frysk-sys/ChangeLog
    2008-04-30  Andrew Cagney  <cagney@redhat.com>
    
    	* Makefile.am (JniRunner): Provide default tests to run.

-----------------------------------------------------------------------

Summary of changes:
 frysk-sys/ChangeLog   |    4 ++++
 frysk-sys/Makefile.am |   11 +++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-sys/ChangeLog b/frysk-sys/ChangeLog
index f9e3ae9..aef4b07 100644
--- a/frysk-sys/ChangeLog
+++ b/frysk-sys/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-30  Andrew Cagney  <cagney@redhat.com>
+
+	* Makefile.am (JniRunner): Provide default tests to run.
+
 2008-04-17  Andrew Cagney  <cagney@redhat.com>
 
 	* Makefile.am (JniRunner): Require frysk-sys.jar and
diff --git a/frysk-sys/Makefile.am b/frysk-sys/Makefile.am
index 0ce8d3e..38325a2 100644
--- a/frysk-sys/Makefile.am
+++ b/frysk-sys/Makefile.am
@@ -73,7 +73,8 @@ lib/unwind/Unwind%.java: lib/unwind/Unwind.java
 
 \f
 
-# Quick hack to get a test JNI program up-and-running.
+# Quick hack to get a test JNI program up-and-running; as a package is
+# re-implemented in JNI, add it to the below.
 
 noinst_DATA += JniRunner.jar JniRunner
 CLEANFILES += JniRunner
@@ -85,7 +86,13 @@ JniRunner: | frysk-sys.jar libfrysk-sys-jni.so
 	echo "export LD_LIBRARY_PATH=.:/usr/lib64:/usr/lib"	>> $@.tmp
 	echo "export CLASSPATH=\\"				>> $@.tmp
 	echo "$(CLASSPATH):frysk-sys.jar:JniRunner.jar"		>> $@.tmp
-	echo "$(JAVA) JniRunner \"\$$@\""			>> $@.tmp
+	echo "if test \$$# -eq 0 ; then"			>> $@.tmp
+	echo "  $(JAVA) JniRunner \\"				>> $@.tmp
+	echo "    lib.stdcpp \\"				>> $@.tmp
+	echo "    ;"						>> $@.tmp
+	echo "else"						>> $@.tmp
+	echo "  $(JAVA) JniRunner \"\$$@\""			>> $@.tmp
+	echo "fi"						>> $@.tmp
 	chmod a+x $@.tmp
 	mv $@.tmp $@
 


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-30 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 16:09 [SCM] master: Provide a default list of tests to JniRunner cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).