After the past efforts to get the test suite working out of tree on
Ubuntu, I realized that there may not be as large a barrier to it
working on Windows as I thought. I already have ActiveTcl installed, so
I thought I'd see what happened.
The results so far are mixed, but I suspect they are mostly false
positives, except for the two merge tests that also fail on Linux which
are not understood yet.
My Windows build does not include Tcl, TH1 hooks, or TH1 docs. I've not
tried doing anything "exotic" with that build other than enabling JSON,
which does happen to be enabled.
From an MSYS bash prompt in a clean folder outside of build and source
tree, I said:
$ tclsh ../fossil4/test/tester.tcl ../fossil4/fossil
Amazingly, that ran most of the test suite. Then it failed with a Tcl
error in th1.test, in the first test executed that called
run_in_checkout to run a command inside the open fossil checkout:
couldn't change working directory to "../fossil4/test": no such file or
directory
while executing
"cd $dir"
(procedure "run_in_checkout" line 3)
invoked from within
"run_in_checkout {
# NOTE: The "1" here forces the checkout to be opened.
fossil test-th-eval "checkout 1"
}"
(file "C:/Users/Ross/Documents/tmp/fossil4/test/th1.test" line 559)
....
Interestingly, at least from MSYS bash's point of view, the path
../fossil4/test would be correct, and interactive prodding of tclsh
shows that it ought to have worked. Unless, of course, something else in
th1.test had inadvertently changed directories on Windows but not on
Linux. At this point, my Tcl-fu is not strong enough to spot the issue.
Running the suite again with -quiet -prot to calm down the terminal and
keep a record reveals that it failed 7 tests up to the point of crashing
in th1.test:
* amend-comment-5.1
* amend-comment-5.2
* amend-comment-5.3
* amend-comment-5.4
* merge_multi-4
* merge_renames-5
* rm-soft-relative-4
I manually ran the only test file not yet run (utf.test) and it passes
all tests.
--
Ross Berteig r...@cheshireeng.com
Cheshire Engineering Corp. http://www.CheshireEng.com/
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev