Commit Graph

18 Commits

Author SHA1 Message Date
evpobr
4ff3b84eff msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
bobsayshilol
aa3346cc6e
tests: Make temporary filenames unique per test (#704)
When two tests share a temporary filename they can cause ctest to fail
when run in parallel mode since both would attempt to operate on the
same file if scheduled to run at the same time.

To fix this, filenames in the smaller tests have been individually
renamed, and for the bigger tests a prefix has been added to make them
unique.

The complete list of conflicting filenames (which were then manually
inspected) was generated by running the following command in 'tests':

    for file in $(grep -hoER \"\\w+\\.\\w+\" | sort | uniq -d)
        do echo $file
        grep -Rn $file
        echo
    done | less
2021-02-21 11:11:34 +01:00
evpobr
58737ceb48 tests: Fixes for MSVC
* src/test_main.c: Fix undeclared off_t type with MSVC
* tests/misc_test.c: Fix undefined S_ISCHR & S_ISBLK with MSVC
* tests/stdin_test.c: Fix undefined STDIN_FILENO with MSVC
* tests/win32_ordinal_test.c: Fix undeclared getcwd() with MSVC
* Fix missing unistd.h under Win32

Related: https://github.com/erikd/libsndfile/issues/154
2017-04-14 13:03:27 +10:00
Erik de Castro Lopo
518e3be6ef tests/ : Fix all printf format warnings. 2012-02-18 12:59:32 +11:00
Erik de Castro Lopo
f209698448 Update copyright dates. 2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
a38e0b105e Update copyright notices. 2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
a5f5a3abee tests/*.c : Add calls to sf_close() where needed. 2008-04-06 16:24:39 +10:00
Erik de Castro Lopo
2e97a51cdd Clean out cruft. 2008-04-05 20:13:47 +11:00
Erik de Castro Lopo
4c93e0bad9 headerless_test : Minor cleanup. 2005-11-19 01:35:35 +00:00
Erik de Castro Lopo
ea83fa2059 headerless_test.c : Add new test. 2005-11-19 01:23:44 +00:00
Erik de Castro Lopo
f3ea80efe5 Fix autoconf config issues using new file sfconfig.h. 2005-09-03 06:12:30 +00:00
Erik de Castro Lopo
fe7d03cd59 Remove some of the config related changes in last commit. They broke MinGW builds. 2005-09-03 03:50:47 +00:00
Erik de Castro Lopo
0c7b227de0 Fix a bunch of minor issues found by John Pavel using the Intel compiler. 2005-09-03 02:18:46 +00:00
Erik de Castro Lopo
919e5d2a56 Update usage of check_log_buffer_or_die(). 2004-05-21 00:37:31 +00:00
Erik de Castro Lopo
b27fdfb4d4 Add 2004 copyright dates. 2004-03-01 08:51:25 +00:00
Erik de Castro Lopo
26efcb703f More zip.com.au to mega-nerd.com changes. 2004-02-13 12:31:34 +00:00
Erik de Castro Lopo
a1e9265cad initial import
(automatically generated log message)
2004-01-21 07:46:34 +00:00
Erik de Castro Lopo
cb979e10a7 First snapshot of the public project. 2007-05-14 19:55:24 +10:00