public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: scox@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Use splitext instead of split
Date: Thu, 06 Dec 2007 03:48:00 -0000	[thread overview]
Message-ID: <20071206034829.24232.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  abf779095e5f0032dd63a47ff641faed580989fa (commit)
      from  159b6d1d9636793df6ffaf4eea39d0d1f58fc552 (commit)

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

- Log -----------------------------------------------------------------
commit abf779095e5f0032dd63a47ff641faed580989fa
Author: Stan Cox <scox@redhat.com>
Date:   Wed Dec 5 22:34:15 2007 -0500

    Use splitext instead of split
    
    * gen-type-expect-tests.py (j.start_test): Use splitext instead of split

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

Summary of changes:
 frysk-core/frysk/debuginfo/ChangeLog               |    4 ++++
 .../frysk/debuginfo/gen-type-expect-tests.py       |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/debuginfo/ChangeLog b/frysk-core/frysk/debuginfo/ChangeLog
index 7706b70..82bb3b9 100644
--- a/frysk-core/frysk/debuginfo/ChangeLog
+++ b/frysk-core/frysk/debuginfo/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-05  Stan Cox  <scox@redhat.com>
+
+	* gen-type-expect-tests.py (j.start_test): Use splitext instead of split
+
 2007-12-04  Andrew Cagney  <cagney@redhat.com>
 
 	Merge frysk.sys.Sig into frysk.sys.Signal.
diff --git a/frysk-core/frysk/debuginfo/gen-type-expect-tests.py b/frysk-core/frysk/debuginfo/gen-type-expect-tests.py
index 73aaa1f..5daa7a5 100644
--- a/frysk-core/frysk/debuginfo/gen-type-expect-tests.py
+++ b/frysk-core/frysk/debuginfo/gen-type-expect-tests.py
@@ -142,7 +142,7 @@ public class %s extends TestLib {
 
     def start_test(self, executable, name):
         print("    public void test_%s () {" % (name))
-        tokens = os.path.abspath(executable).split(".")
+        tokens = os.path.splitext(os.path.abspath(executable))
         print('	TypeTestbed typeTestbed = new TypeTestbed("%s", "test%s");' % (os.path.basename(tokens[0]), name))
 
     def add_test(self, name, type, etype, decl, value):


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


                 reply	other threads:[~2007-12-06  3:48 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=20071206034829.24232.qmail@sourceware.org \
    --to=scox@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).