Thus said Sergei Gavrikov on Fri, 10 Jan 2014 19:56:54 +0300:

>   ***** Failures: ... th1-setting-5 th1-setting-6

These two failures appear to be  happening because they expect to find a
setting (autosync  == 1),  but find  something else.  I believe  this is
because they operate  on the current fossil repository which  may or may
not have  the settings that  were originally  present when the  test was
drafted. This means that the test  is not operating on a cleanly created
fossil  repository. Given  that  we  cannot know  what  state any  given
repository is in,  you probably need to create a  new repository and run
the tests from there.

Something like:

FDIR=/path/to/fossil
FOSSIL=$FDIR/fossil
$FOSSIL new /tmp/test.fossil
mkdir /tmp/test; cd /tmp/test; $FOSSIL open /tmp/test.fossil
tclsh $FDIR/test/tester.tcl $FOSSIL

Or  make a  new clone  of fossil  when building/testing  and use  ``make
test'' within that directory. Also, main.mk has this advisory:

# WARNING. DANGER. Running the test suite modifies the repository the
# build is done from, i.e. the checkout belongs to. Do not sync/push
# the repository after running the tests.

In  the future,  perhaps  the tests  need  to be  modified  to create  a
new  test.fossil  from which  to  run  the  tests.  I cannot  tell  what
modifications  might have  been  made to  my clone  of  fossil, but  the
warning seems pretty dire---I wonder if that means I can no longer sync?

Andy
-- 
TAI64 timestamp: 4000000052d0bba0


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to