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
9fa6c74223
Whitespace.
2012-03-18 12:06:16 +11:00
Erik de Castro Lopo
18c1105981
Whitespace and cstyle fixes.
2012-01-20 22:46:13 +11:00
Erik de Castro Lopo
912f139ed9
tests/(alaw|dwvw|ulaw)_test.c : Use functions sf_info_clear() and sf_info_setup().
2011-03-15 22:10:10 +11:00
Erik de Castro Lopo
f209698448
Update copyright dates.
2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
b99995bef5
tests/ : Cleanup output.
2009-04-11 11:30:42 +10:00
Erik de Castro Lopo
a38e0b105e
Update copyright notices.
2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
2e97a51cdd
Clean out cruft.
2008-04-05 20:13:47 +11: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
1760de3e42
Minor cleanup of tests/(a|u)law_test.c.
2004-07-31 00:51:56 +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