Hello,

To be  able to  add tests  for the new  command I've  been familiarizing
myself with tester.tcl and the tests. The instructions for using it say:

    From  a  private directory  (not  the  source tree)  run  "tclsh
    $SRC/test/tester.tcl $FOSSIL"  where $FOSSIL is the  name of the
    executable under test  and $SRC is the source  tree. Verify that
    there are no errors.

However, when  I run it  this way, some of  the tests fail  because they
want  to be  in  an  open checkout  of  a  repository; specifically  the
relative-tree-name and absolute-tree-name tests from file1.test.

/tmp/fossil/fossil test-tree-name --chdir . .
ERROR: use --repository or -R to specify the repository database
test relative-tree-name-100.1 FAILED!
/tmp/fossil/fossil test-tree-name --chdir test1 /tmp/fossil-test/file1
ERROR: use --repository or -R to specify the repository database
test relative-tree-name-100.2 FAILED!

Are the instructions missing something, or  do the tests lack some setup
(like creating a test repository in which to work)?

Thanks,

Andy
-- 
TAI64 timestamp: 4000000055b99233


_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to