mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-26 05:18:21 +01:00
Move test PDF file to new testfiles subdirectory.
Ignore generated PDF files from unit test program.
This commit is contained in:
parent
128d5f0d42
commit
9cf024c1ce
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,5 @@
|
|||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
/testpdfio
|
/testpdfio
|
||||||
|
/testpdfio-*.pdf
|
||||||
|
|
||||||
|
@ -167,8 +167,8 @@ do_unit_tests(void)
|
|||||||
|
|
||||||
|
|
||||||
// First open the test PDF file...
|
// First open the test PDF file...
|
||||||
fputs("pdfioFileOpen(\"testpdfio.pdf\"): ", stdout);
|
fputs("pdfioFileOpen(\"testfiles/testpdfio.pdf\"): ", stdout);
|
||||||
if ((pdf = pdfioFileOpen("testpdfio.pdf", (pdfio_error_cb_t)error_cb, &error)) != NULL)
|
if ((pdf = pdfioFileOpen("testfiles/testpdfio.pdf", (pdfio_error_cb_t)error_cb, &error)) != NULL)
|
||||||
puts("PASS");
|
puts("PASS");
|
||||||
else
|
else
|
||||||
return (1);
|
return (1);
|
||||||
|
Loading…
Reference in New Issue
Block a user