mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-25 12:58: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
|
||||
*.so
|
||||
/testpdfio
|
||||
/testpdfio-*.pdf
|
||||
|
||||
|
@ -167,8 +167,8 @@ do_unit_tests(void)
|
||||
|
||||
|
||||
// First open the test PDF file...
|
||||
fputs("pdfioFileOpen(\"testpdfio.pdf\"): ", stdout);
|
||||
if ((pdf = pdfioFileOpen("testpdfio.pdf", (pdfio_error_cb_t)error_cb, &error)) != NULL)
|
||||
fputs("pdfioFileOpen(\"testfiles/testpdfio.pdf\"): ", stdout);
|
||||
if ((pdf = pdfioFileOpen("testfiles/testpdfio.pdf", (pdfio_error_cb_t)error_cb, &error)) != NULL)
|
||||
puts("PASS");
|
||||
else
|
||||
return (1);
|
||||
|
Loading…
Reference in New Issue
Block a user