6 Commits

Author SHA1 Message Date
AliceLR
8e3ae4fd18 Fix test-dev sample, depack, prowizard, and api leaks. 2020-11-07 18:37:57 -07:00
Claudio Matsuoka
21f1636e42 Add prefix to local functions
tjosk reports:

"seriously, you wrote it as a lib, but are using too generic function names
 (and i dont even want to think if there are global variables/defs that might
 conflict too). some time ago i've reported that libxmp defines 'inflate'
 function which is also used in libz (my quick fix was to change all
 occurances of 'inflate' to 'xmp_inflate'). now there is another:

 /1/_src/oscp/local/usr/local/lib/libxmp.a(mix_paula.o): In function `paula_init':
 mix_paula.c:(.text.paula_init+0x0): multiple definition of `paula_init'
 /1/_src/oscp/local/usr/local/lib/libsc68.a(paulaemul.o):paulaemul.c:(.text.paula_init+0x0): first defined here
 collect2: error: ld returned 1 exit status

 both things can be simply renamed in libxmp without breaking anything. please do!"

 Add libxmp_ prefix to some local functions to prevent namespace clashes when
 statically linking the library.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2016-09-30 19:55:22 -03:00
Claudio Matsuoka
e2d9b81bdc [test] Update tests to load from pathname
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-07-16 16:56:41 -03:00
Claudio Matsuoka
d9006843c6 [test] Update tests to use the new hio API
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-05-30 11:58:03 -03:00
Claudio Matsuoka
29cafe79fa [test] Fix sample loading tests to use handle I/O
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-05-24 11:31:02 -03:00
Claudio Matsuoka
8d16103fed Rename compreensive test suite to test-dev
The regression test suite is important for development but for end user
tests a simpler check is sufficient.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-05-18 11:18:52 -03:00