I've given up on mingw. The build system almost "just works" on
cygwin, but configure again did not generate a correct libtool script,
apparently that is a win32 issue with those tools. Issuing ./
config.status --recheck took care of it, make then proceeds to build
ledger.exe.

Cygwin sets LANG=C.UTF-8, but passing that to the cygwin libraries as
a locale results in an immediate crash. export LANG="" fixes that.

7 test failures in total, 4 path output/normalization related, leaving
just 3 interesting failures.

I ran the two failures with no output manually:

    For 7C44010B.test, output is correct and then ledger hangs.
    For 9EB10714.test, output is correct and then "Segmentation fault
(core dumped)"

Output from the various tests follows. Any thoughts about fixes?


Max


max@max2 ~/ledger
$ ./RegressTests

FAILURE in output from ./test/regress/012ADB60.test:
--
$ledger -f "./test/regress/012ADB60.test" equity -e 2006
--
  @@ -2,3 +2,4 @@
       Assets:Current:Checking               $-1,000.00
       Liabilities:CredCard                   $1,000.00
       (Virtualaccount)                       $1,000.00
  +    Equity:Opening Balances               $-1,000.00
E[012ADB60.test]STDERR:

..................................
FAILURE in error output from ./test/regress/6188B0EC.test:
--
$ledger -f "./test/regress/6188B0EC.test" bal --
  @@ -1,2 +1,2 @@
   While parsing file "./test/regress/6188B0EC.test", line 3:
  -Error: File to include was not found: "/home/max/ledger/test/
regress/6188B0EC-does-not-exist.dat"
  +Error: File to include was not found: "./test/regress/6188B0EC-does-
not-exist.dat"
E[6188B0EC.test]STDERR:

...........
E[7C44010B.test]..........................
E[9EB10714.test]....................................................
OK (123)  FAILED (4)

max@max2 ~/ledger
$ ./BaselineTests
....................................................................
FAILURE in output from ./test/baseline/cmd-stats.test:
--
$ledger -f "./test/baseline/cmd-stats.test" stats --now "2012-03-31"
--
  @@ -1,7 +1,7 @@
   Time period: 12-Feb-28 to 12-Mar-24 (25 days)

     Files these postings came from:
  -    /home/max/ledger/test/baseline/cmd-stats.test
  +    ./test/baseline/cmd-stats.test

     Unique payees:               1
     Unique accounts:             4
E[cmd-stats.test]STDERR:

............
FAILURE in error output from ./test/baseline/dir-tag.test:
--
$ledger -f "./test/baseline/dir-tag.test" reg
--
  @@ -1,1 +1,1 @@
  -Warning: "/home/max/ledger/test/baseline/dir-tag.test", line 8:
Metadata check failed for (Happy: Summer): (value == "Valley")
  +Warning: "./test/baseline/dir-tag.test", line 8: Metadata check
failed for (Happy: Summer): (value == "Valley")
E[dir-tag.test]STDERR:

...
FAILURE in error output from ./test/baseline/feat-check.test:
--
$ledger -f "./test/baseline/feat-check.test" bal
--
  @@ -1,2 +1,2 @@
  -Warning: "/home/max/ledger/test/baseline/feat-check.test", line 6:
Transaction check failed: (account =~ /Foo/)
  -Warning: "/home/max/ledger/test/baseline/feat-check.test", line 8:
Check failed: account("Assets:Checking").all(account =~ /Expense/)
  +Warning: "./test/baseline/feat-check.test", line 6: Transaction
check failed: (account =~ /Foo/)
  +Warning: "./test/baseline/feat-check.test", line 8: Check failed:
account("Assets:Checking").all(account =~ /Expense/)
E[feat-check.test]STDERR:

....................................................................................................................................................................................................................
OK (295)  FAILED (3)


max@max2 ~/ledger
$ ./ManualTests --verify
..........
OK (10)

max@max2 ~/ledger
$ ./ConfirmTests --verify
.......
OK (7)

max@max2 ~/ledger
$ ./GenerateTests 20 --verify
...................
OK (19)

Reply via email to