Fossil SCM
Merge the maketest_fixes branch into trunk.
Commit
9ee570846b05c4787d197c3282bc891c7d05e071
Parent
ccf43e1882d8994…
4 files changed
+2
-2
+2
-2
+5
-1
+6
+2
-2
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -287,12 +287,12 @@ | ||
| 287 | 287 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 288 | 288 | |
| 289 | 289 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 290 | 290 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 291 | 291 | # the repository after running the tests. |
| 292 | -test: $(APPNAME) | |
| 293 | - $(TCLSH) test/tester.tcl $(APPNAME) | |
| 292 | +test: $(OBJDIR) $(APPNAME) | |
| 293 | + $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) | |
| 294 | 294 | |
| 295 | 295 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 296 | 296 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 297 | 297 | |
| 298 | 298 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 299 | 299 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -287,12 +287,12 @@ | |
| 287 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 288 | |
| 289 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 290 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 291 | # the repository after running the tests. |
| 292 | test: $(APPNAME) |
| 293 | $(TCLSH) test/tester.tcl $(APPNAME) |
| 294 | |
| 295 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 296 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 297 | |
| 298 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 299 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -287,12 +287,12 @@ | |
| 287 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 288 | |
| 289 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 290 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 291 | # the repository after running the tests. |
| 292 | test: $(OBJDIR) $(APPNAME) |
| 293 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 294 | |
| 295 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 296 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 297 | |
| 298 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 299 |
+2
-2
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -182,12 +182,12 @@ | ||
| 182 | 182 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 183 | 183 | |
| 184 | 184 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 185 | 185 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 186 | 186 | # the repository after running the tests. |
| 187 | -test: $(APPNAME) | |
| 188 | - $(TCLSH) test/tester.tcl $(APPNAME) | |
| 187 | +test: $(OBJDIR) $(APPNAME) | |
| 188 | + $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) | |
| 189 | 189 | |
| 190 | 190 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 191 | 191 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid \ |
| 192 | 192 | $(SRCDIR)/../manifest \ |
| 193 | 193 | $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 194 | 194 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -182,12 +182,12 @@ | |
| 182 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 183 | |
| 184 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 185 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 186 | # the repository after running the tests. |
| 187 | test: $(APPNAME) |
| 188 | $(TCLSH) test/tester.tcl $(APPNAME) |
| 189 | |
| 190 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 191 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid \ |
| 192 | $(SRCDIR)/../manifest \ |
| 193 | $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 194 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -182,12 +182,12 @@ | |
| 182 | $(BCC) -o $(OBJDIR)/mkversion $(SRCDIR)/mkversion.c |
| 183 | |
| 184 | # WARNING. DANGER. Running the testsuite modifies the repository the |
| 185 | # build is done from, i.e. the checkout belongs to. Do not sync/push |
| 186 | # the repository after running the tests. |
| 187 | test: $(OBJDIR) $(APPNAME) |
| 188 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 189 | |
| 190 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 191 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid \ |
| 192 | $(SRCDIR)/../manifest \ |
| 193 | $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 194 |
+5
-1
| --- test/merge5.test | ||
| +++ test/merge5.test | ||
| @@ -38,14 +38,18 @@ | ||
| 38 | 38 | } |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | catch {exec $::fossilexe info} res |
| 42 | 42 | puts res=$res |
| 43 | -if {![regexp {not within an open checkout} $res]} { | |
| 43 | +if {![regexp {use --repository} $res]} { | |
| 44 | 44 | puts stderr "Cannot run this test within an open checkout" |
| 45 | 45 | return |
| 46 | 46 | } |
| 47 | +# | |
| 48 | +# Fossil will write data on $HOME, running 'fossil open' here. | |
| 49 | +# We need not to clutter the $HOME of the test caller. | |
| 50 | +set env(HOME) [pwd] | |
| 47 | 51 | |
| 48 | 52 | # Construct a test repository |
| 49 | 53 | # |
| 50 | 54 | exec sqlite3 m5.fossil <$testdir/${testfile}_repo.sql |
| 51 | 55 | fossil rebuild m5.fossil |
| 52 | 56 |
| --- test/merge5.test | |
| +++ test/merge5.test | |
| @@ -38,14 +38,18 @@ | |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | catch {exec $::fossilexe info} res |
| 42 | puts res=$res |
| 43 | if {![regexp {not within an open checkout} $res]} { |
| 44 | puts stderr "Cannot run this test within an open checkout" |
| 45 | return |
| 46 | } |
| 47 | |
| 48 | # Construct a test repository |
| 49 | # |
| 50 | exec sqlite3 m5.fossil <$testdir/${testfile}_repo.sql |
| 51 | fossil rebuild m5.fossil |
| 52 |
| --- test/merge5.test | |
| +++ test/merge5.test | |
| @@ -38,14 +38,18 @@ | |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | catch {exec $::fossilexe info} res |
| 42 | puts res=$res |
| 43 | if {![regexp {use --repository} $res]} { |
| 44 | puts stderr "Cannot run this test within an open checkout" |
| 45 | return |
| 46 | } |
| 47 | # |
| 48 | # Fossil will write data on $HOME, running 'fossil open' here. |
| 49 | # We need not to clutter the $HOME of the test caller. |
| 50 | set env(HOME) [pwd] |
| 51 | |
| 52 | # Construct a test repository |
| 53 | # |
| 54 | exec sqlite3 m5.fossil <$testdir/${testfile}_repo.sql |
| 55 | fossil rebuild m5.fossil |
| 56 |
| --- test/merge_renames.test | ||
| +++ test/merge_renames.test | ||
| @@ -7,10 +7,16 @@ | ||
| 7 | 7 | puts res=$res |
| 8 | 8 | if {![regexp {use --repository} $res]} { |
| 9 | 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | 10 | return |
| 11 | 11 | } |
| 12 | + | |
| 13 | + | |
| 14 | +# Fossil will write data on $HOME, running 'fossil new' here. | |
| 15 | +# We need not to clutter the $HOME of the test caller. | |
| 16 | +set env(HOME) [pwd] | |
| 17 | + | |
| 12 | 18 | |
| 13 | 19 | ###################################### |
| 14 | 20 | # Test 1 # |
| 15 | 21 | # Reported: Ticket [554f44ee74e3d] # |
| 16 | 22 | ###################################### |
| 17 | 23 |
| --- test/merge_renames.test | |
| +++ test/merge_renames.test | |
| @@ -7,10 +7,16 @@ | |
| 7 | puts res=$res |
| 8 | if {![regexp {use --repository} $res]} { |
| 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | return |
| 11 | } |
| 12 | |
| 13 | ###################################### |
| 14 | # Test 1 # |
| 15 | # Reported: Ticket [554f44ee74e3d] # |
| 16 | ###################################### |
| 17 |
| --- test/merge_renames.test | |
| +++ test/merge_renames.test | |
| @@ -7,10 +7,16 @@ | |
| 7 | puts res=$res |
| 8 | if {![regexp {use --repository} $res]} { |
| 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | return |
| 11 | } |
| 12 | |
| 13 | |
| 14 | # Fossil will write data on $HOME, running 'fossil new' here. |
| 15 | # We need not to clutter the $HOME of the test caller. |
| 16 | set env(HOME) [pwd] |
| 17 | |
| 18 | |
| 19 | ###################################### |
| 20 | # Test 1 # |
| 21 | # Reported: Ticket [554f44ee74e3d] # |
| 22 | ###################################### |
| 23 |