www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 262] New: Certain Druntime & Phobos unit tests are disabled

https://bugzilla.gdcproject.org/show_bug.cgi?id=262

            Bug ID: 262
           Summary: Certain Druntime & Phobos unit tests are disabled
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libgphobos
          Assignee: ibuclaw gdcproject.org
          Reporter: johannespfau gmail.com

There are certain tests which were not run initially, as the static linking +
tester failed to pick up the correct tests.

When adding shared library testing support, tests for these modules were
explicitly disabled to reproduce the old behavior. Nevertheless, we should
probably fix the tests some time.

This bug report is meant as a reminder that we still disable certain tests:
In libdruntime/Makefile.am:

DRUNTIME_TEST_OBJECTS  = $(filter-out rt/util/typeinfo.t.o \
        core/internal/convert.t.o, $(REAL_DRUNTIME_TEST_OBJECTS)) \
        rt/util/typeinfo.o core/internal/convert.o

DRUNTIME_TEST_LOBJECTS  = $(filter-out rt/util/typeinfo.t.lo \
        core/internal/convert.t.lo, $(REAL_DRUNTIME_TEST_LOBJECTS)) \
        rt/util/typeinfo.lo core/internal/convert.lo


In phobos/src/Makefile.am

PHOBOS_TEST_OBJECTS = $(filter-out std/net/curl.t.o std/base64.t.o, \
    $(REAL_PHOBOS_TEST_OBJECTS))
PHOBOS_TEST_LOBJECTS = $(filter-out std/net/curl.t.lo std/base64.t.lo, \
    $(REAL_PHOBOS_TEST_LOBJECTS))

-- 
You are receiving this mail because:
You are watching all bug changes.
Jun 28