Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port most of libdispatch tests to Linux (31 compile; 21 pass).
Made an initial sweep through the test suite to resolve the easy compilation issues. Summary of changes: (a) Guard mach specific code with #ifdef __APPLE__ (b) Changes to tests/Makefile.am to preserve information from configure to guide test selection, compilation, and execution. (c) Map sysctlbyname calls to sysconf (d) Simulate mach_absolute_time APIs (e) Guard code using F_NOCACHE and F_GLOBAL_NOCACHE (f) On Linux, simplify bsdtestharness.c to not use libdispatch to execute the test cases (some of the needed libdispatch functionality is not yet working). To track progress, we broke the TESTS list in tests/Makefile.am into UNPORTED_TESTS, PORTED_TESTS_FAILED, PORTED_TESTS_PASSED. TESTS is defined as the union of PORTED_TESTS_PASSED and PORTED_TESTS_FAILED. If the automake testing harness is only being used on Linux, it would be nice to merge this change back to coordinate progress. If you use this test harnesss on OS X too, we can do something different like tracking progress in a side file instead. Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
- Loading branch information