Rename DEBUG_OSX to a more local CDIO_DEBUG_OSX.

Add real tests for osx, maybe be useful in a more general way?
Don't return on any test fail, wait until all are done (they're not mutually exclusive).
This commit is contained in:
2012-05-29 22:51:55 +01:00
parent 019fd5e7cb
commit b5c9b50755
2 changed files with 130 additions and 3 deletions

View File

@@ -117,14 +117,14 @@ typedef enum {
#endif
// Define to get verbose debug output in stdout
//#define DEBUG_OSX 1
//#define CDIO_DEBUG_OSX 1
// Carbon.h is defining DPRINTF, but in an incompatible way
#ifdef DPRINTF
#undef DPRINTF
#endif
#ifdef DEBUG_OSX
#ifdef CDIO_DEBUG_OSX
#define DPRINTF(fmt, ...) \
do { printf("osx-driver: " fmt , ## __VA_ARGS__); } while (0)
#else