public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Use splitext instead of split
@ 2007-12-06  3:48 scox
  0 siblings, 0 replies; only message in thread
From: scox @ 2007-12-06  3:48 UTC (permalink / raw)
  To: frysk-cvs

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


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

only message in thread, other threads:[~2007-12-06  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06  3:48 [SCM] master: Use splitext instead of split scox

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).