439 Commits

Author SHA1 Message Date
b5c9b50755 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).
2012-05-29 22:51:55 +01:00
R. Bernstein
58400f03b9 Add guard around get_mcn for null p_cdio. 2012-04-15 00:49:01 -04:00
rocky
aa0c1cb2a3 test/Makefile.am: test example files, some of which are used in tests, is no longer optional
other Makefile.am: remove some cruft.
2012-03-25 20:11:11 -04:00
R. Bernstein
023fcab57f Add catalog number to ISO 9660 cue file. 2012-03-25 17:18:49 -04:00
R. Bernstein
be738cbb2f Expand driver test framework a little and the tests we do. 2012-03-25 17:18:49 -04:00
R. Bernstein
4684fb002a Small changes. 2012-03-25 17:18:49 -04:00
Pete Batard
6571318912 More paranoia and unconfig removal 2012-03-10 21:36:20 -05:00
R. Bernstein
892ff0522e Merge branch 'greenleon' of git.sv.gnu.org:/srv/git/libcdio
Conflicts:
	lib/driver/image/bincue.c
2012-03-10 16:13:58 -05:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
Pete Batard
9e4332245a Fix an "unused but set warning" in bincue test 2012-03-05 23:32:56 +00:00
Pete Batard
0074e54f97 More source headers harmonization
* fix missing #ifdefs
* remove spaces and page feeds
* follow same set of rules everywhere, with cdio includes coming
  after standard C includes.
2012-03-05 17:58:56 +00:00
Pete Batard
9b0a90d4ae Fix various issues
* bzero is obsolete
* use HMODULE instead of long win win32 for 64 bit compatibility
* iso9660_seek_read_framesize fails seeking to a position higher than 4 GB
* cd-read produces a warning
* legal-regex should allow for years > 2009
2012-03-05 17:52:30 +00:00
Pete Batard
35aa0c7dec Additional fixups for paranoia removal
Should libcdio_cdda.pc.in be removed as well?
2012-03-05 15:18:52 +00:00
Pete Batard
f574be6cd1 More paranoia removal
* Also some silencing of makefile operations
2012-03-05 14:16:33 +00:00
R. Bernstein
b21bb347f1 test/testgetdevices.c.in Remove some warnings on MingGW 2012-03-04 20:44:15 -05:00
R. Bernstein
31b8758afe test/Makefile.am: Remove test/unconfig -- this time, for sure! 2012-03-04 20:19:39 -05:00
rocky
cefd646275 Remove testunconfig. We have removed unconfig.h 2012-03-04 23:46:44 +01:00
R. Bernstein
ebcc891306 More pbatard patches 2012-03-04 14:49:33 -05:00
R. Bernstein
deb7621512 check_udf.sh is derived and thus should not be in git 2012-03-04 00:32:41 -05:00
R. Bernstein
af0a57856e test/check_udf.sh works when building outside source tree. With this "make distcheck" should work again 2012-03-04 00:30:58 -05:00
R. Bernstein
1f60f6f2d3 test/*: Add first UDF test - test sequential file extraction.
example/extract.c: give non-zero return code if we can't find UDF image test/*
2012-03-04 00:09:02 -05:00
rocky
3e8bf97c66 This time, for sure! 2012-03-04 04:10:06 +01:00
rocky
599fd4c3b0 Tolerancefor Solaris /bin/sh and grep 2012-03-04 04:02:40 +01:00
R. Bernstein
5754f64453 Add test/cdtext.right to distribution. 2012-03-03 21:49:17 -05:00
R. Bernstein
0c1e50eab8 Add test/data/cdtext.cue to distribution. 2012-03-03 21:39:06 -05:00
R. Bernstein
3361461cd9 Skip testgetdevices on MinGW for now 2012-03-03 20:59:53 -05:00
R. Bernstein
6e4a15636b Had messed up on pbatard mmc_write.c sleep patch for MinGW 2012-03-03 20:32:59 -05:00
R. Bernstein
2022037807 More patches from pbatard to reduce warnings, etc. 2012-03-03 20:11:14 -05:00
R. Bernstein
e5ac559bcd Remove a couple of warnings, some of which were removed in the pbatard branch. 2012-03-03 19:41:48 -05:00
R. Bernstein
2145a5c805 check_legal.regex: wrong regexp. This time, for sure! 2012-03-03 18:32:43 -05:00
R. Bernstein
deb33d6a0b check_legal.regex: allow matching cd-info.exe.
check_common_fn.in: don't erase file cd-info_legal.dump if there is an error.
2012-03-03 16:58:34 -05:00
R. Bernstein
47f417e5dc Reinstate nrg test for MinGW. 2012-03-03 16:28:19 -05:00
R. Bernstein
739928df7b Pete Batard's patches offset types especially for MinGW and MS Visual C. 2012-03-03 12:10:53 -05:00
R. Bernstein
44ddf740e6 test/check_common.sh.in: Avoid $(...) for sh of Solaris 10 2012-03-03 09:47:49 -05:00
R. Bernstein
422693a7cd Change headers as per pbatard branch to make MinGW work out. 2012-03-03 00:26:20 -05:00
R. Bernstein
a08e5931e0 check_common_fn.in: show command name when we hit an error 2012-03-02 21:42:35 -05:00
R. Bernstein
1772b4eaa3 A slightly better locale-missing fix 2012-02-26 01:29:28 -05:00
rocky
c80d749a86 MinGW doesn't have a locale command 2012-02-26 00:56:53 -05:00
rocky
3ef4cde61a Skip test/driver/nrg until we work out off_t issues 2012-02-26 00:31:49 -05:00
R. Bernstein
04181f8456 Fix "setlocale: LC_TIME: cannot change locale (en_US" warning during tests.
Both 'en_US' and 'en_US.utf8' might be defined on some platforms

From pbatard branch.
2012-02-25 20:27:33 -05:00
R. Bernstein
734c6473b3 Fix some of the tests for MinGW and fix the use of Sleep/usleep for MinGW & MSVC platforms
* Sleep takes ms, not s
* Use sleep/Sleep rather than usleep in the cdchange sample, as usleep
  is not available on recent MinGW platforms

From pbatard branch.
2012-02-24 22:03:19 -05:00
R. Bernstein
e20dde12c4 Make "distcheck" works again.
include/cdio/Makefile.am: was missing inclusion of cdtext.h
test/Makefile.am: remove paranoia test.
2012-02-23 03:47:08 -05:00
rocky
f9bd26cbc2 paranoia code removed. Is now in separate tree under GPL v2+.
realpath.c: patch from Debian and N. Boullis
2012-02-19 22:11:14 -05:00
rocky
c742eed87d Debian POSIXness fix from N. Boullis 2012-02-19 20:06:47 -05:00
R. Bernstein
8502946c1f $abs_top_path now seems to really refer to the absolute top path. Adjust data/check locations accordingly. 2012-02-12 09:08:08 -05:00
R. Bernstein
ff70754ebf $abs_top_path now seems to really refer to the absolute top path. Adjust data/check locations accordingly. 2012-02-12 08:40:58 -05:00
R. Bernstein
96bd9a9993 realpath.c(main): Remove duplicate if condition. 2012-01-28 23:31:24 -05:00
R. Bernstein
6bbab1a4e2 Wasn't showing full command name when check_cue.sh failed. 2012-01-28 23:04:06 -05:00
R. Bernstein
f130f66c5d mmc_hl_cmds.c: remove gcc warning
solaris.c: remove unused fn warning when not on solaris
check_cue.sh.in: fix so we can build outside of source tree. With this, "make distcheck" works again.
2012-01-28 20:56:30 -05:00
R. Bernstein
bf40f778d1 CDTEXTFILE directifile should be relative to CUE file. 2012-01-26 00:35:57 -05:00