15 May 06:24
Strange bug with common.mk, File, Test::Unit
From: Daniel Berger <djberg96 <at> gmail.com>
Subject: Strange bug with common.mk, File, Test::Unit
Newsgroups: gmane.comp.lang.ruby.core
Date: 2008-05-15 04:28:31 GMT
Subject: Strange bug with common.mk, File, Test::Unit
Newsgroups: gmane.comp.lang.ruby.core
Date: 2008-05-15 04:28:31 GMT
Hi all,
Ruby 1.8.6-p114
OS X, Solaris, Windows XP and Linux
I added a couple of test tasks in the common.mk file so that I could
test specific subsets of test files. Below are just two that I added.
daniel-bergers-computer:~/src/ruby/ruby-1.8.6-p114 djberge$ diff -u
common.orig common.mk
--- common.orig 2007-02-28 06:23:42.000000000 -0700
+++ common.mk 2008-05-14 22:09:14.000000000 -0600
@@ -66,6 +66,8 @@
$(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE)
TESTSDIR = $(srcdir)/test
+TESTSDIR_ARRAY = $(srcdir)/test/core/Array
+TESTSDIR_FILE = $(srcdir)/test/core/File
TESTWORKDIR = testwork
all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
@@ -286,6 +288,12 @@
test-all:
$(RUNRUBY) "$(srcdir)/test/runner.rb" --basedir="$(TESTSDIR)"
--runner=$(TESTUI) $(TESTS)
+test-array:
+ $(RUNRUBY) "$(srcdir)/test/runner.rb"
--basedir="$(TESTSDIR_ARRAY)" --runner=$(TESTUI) $(TESTS)
+
(Continue reading)
RSS Feed