Syniurge / Calypso

LDC fork to experiment direct interfacing with C++
http://wiki.dlang.org/LDC
Other
136 stars 10 forks source link

OSX: `make test` fails: 4 tests failed out of 1565 #58

Open timotheecour opened 6 years ago

timotheecour commented 6 years ago

99% tests passed, 4 tests failed out of 1565

Total Test time (real) = 830.57 sec

The following tests FAILED: 1560 - druntime-test-shared (Failed) 1562 - dmd-testsuite-debug (Failed) 1564 - dmd-testsuite (Failed) 1565 - lit-tests (Failed) Errors while running CTest

timotheecour commented 6 years ago

question: how to run a specific test? the number of tests failed is misleading, since, for eg, druntime-test-shared comprises of multiple tests (subtests); would be nice to report on these instead

timotheecour commented 6 years ago

excerpts from Testing/Temporary/LastTest.log:

==============================
Test failed: 
expected:
----
fail_compilation/fail10346.d(9): Error: undefined identifier 'T'
----
actual:
----
fail_compilation/fail10346.d(9): Error: undefined identifier 'T'
fail_compilation/fail10346.d(13): Error: template fail10346.bar cannot deduce function from argument types !(10)(Foo!int), candidates are:
fail_compilation/fail10346.d(9):        fail10346.bar(T x, T)(Foo!T)
----

==============================
Test failed: 
expected:
----
fail_compilation/fail116.d(11): Error: circular typeof definition
fail_compilation/fail116.d(16): Error: template instance square!1.2 does not match template declaration square(_error_ x)
----
actual:
----
fail_compilation/fail116.d(11): Error: undefined identifier 'x'
fail_compilation/fail116.d(16):        while looking for match for square!1.2
----

==============================
Test failed: 
expected:
----
fail_compilation/ice12727.d(16): Error: alias ice12727.IndexTuple!(1, 0).IndexTuple recursive alias declaration
fail_compilation/ice12727.d(23): Error: template instance ice12727.IndexTuple!(1, 0) error instantiating
fail_compilation/ice12727.d(27):        instantiated from here: Matrix!(float, 3)
fail_compilation/ice12727.d(28):        instantiated from here: Vector!(float, 3)
----
actual:
----
Error: out of memory
----

==============================
Test failed: 
expected:
----
fail_compilation/ice4983.d(14): Error: circular reference to 'ice4983.Foo.dg'
----
actual:
----
fail_compilation/ice4983.d(14): Error: struct ice4983.Foo circular reference to 'ice4983.Foo.dg'
----

==============================
Test failed: 
expected:
----
fail_compilation/fail10346.d(9): Error: undefined identifier 'T'
----
actual:
----
fail_compilation/fail10346.d(9): Error: undefined identifier 'T'
fail_compilation/fail10346.d(13): Error: template fail10346.bar cannot deduce function from argument types !(10)(Foo!int), candidates are:
fail_compilation/fail10346.d(9):        fail10346.bar(T x, T)(Foo!T)
----

==============================
Test failed: 
expected:
----
fail_compilation/fail116.d(11): Error: circular typeof definition
fail_compilation/fail116.d(16): Error: template instance square!1.2 does not match template declaration square(_error_ x)
----
actual:
----
fail_compilation/fail116.d(11): Error: undefined identifier 'x'
fail_compilation/fail116.d(16):        while looking for match for square!1.2
----

==============================
Test failed: 
expected:
----
fail_compilation/ice12727.d(16): Error: alias ice12727.IndexTuple!(1, 0).IndexTuple recursive alias declaration
fail_compilation/ice12727.d(23): Error: template instance ice12727.IndexTuple!(1, 0) error instantiating
fail_compilation/ice12727.d(27):        instantiated from here: Matrix!(float, 3)
fail_compilation/ice12727.d(28):        instantiated from here: Vector!(float, 3)
----
actual:
----
Error: out of memory
----

==============================
Test failed: 
expected:
----
fail_compilation/ice4983.d(14): Error: circular reference to 'ice4983.Foo.dg'
----
actual:
----
fail_compilation/ice4983.d(14): Error: struct ice4983.Foo circular reference to 'ice4983.Foo.dg'
----
Syniurge commented 6 years ago

question: how to run a specific test?

ctest -R *specifictest*
# e.g
ctest -V -R lit-tests

(I just noticed the question sorry)