public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Provide a default list of tests to JniRunner.
Date: Wed, 30 Apr 2008 16:09:00 -0000	[thread overview]
Message-ID: <20080430160933.3595.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-04-30 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080430160933.3595.qmail@sourceware.org \
    --to=cagney@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).