Running pdfuim_unittests from Chromium's source

10 views
Skip to first unread message

milko....@mips.com

unread,
Dec 20, 2017, 7:16:39 AM12/20/17
to pdfium-bugs
Hi,

we are running pdfuim_unittests as part of Chromium Linux testing on buildbot:

http://www.rt-rk.com/mips-buildbot/builders/build_and_test_chromium_trunk_for_MIPS/builds/1771


Two tests are failing:

cpdf_parser.RebuildCrossRefCorrectly
cpdf_parser.RebuildCrossRefFailed

and one is crashing:

CPDF_HintTablesTest.Load


Reason for failures and crash is missing test pdf file, due to incorrect path to the file.

For example, path that test generates is:

/home/user/chromium/src/out/mips32r2/../../testing/resources/parser_rebuildxref_error_notrailer.pdf

since test assumes that root of the project is pdfium directory,
but, when executed from Chromium's source it should be:

/home/user/chromium/src/out/mips32r2/../../third_party/pdfium/testing/resources/parser_rebuildxref_error_notrailer.pdf


Is there support for running pdfium_unittests from Chromium source,
or they are meant to be run from pdfium standalone project only?


Thanks,
Milko

Dan Sinclair

unread,
Jan 2, 2018, 10:06:56 AM1/2/18
to milko....@mips.com, pdfium-bugs
I'm not sure if we've tried running from the Chromium tree before, we run our tests in a PDFium repo on all our bots. I'm not sure how you'd make the paths work correctly in a Chromium checkout.

dan




--
You received this message because you are subscribed to the Google Groups "pdfium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfium-bugs+unsubscribe@googlegroups.com.
To post to this group, send email to pdfiu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfium-bugs/448eab83-d8c6-4256-bf70-f32a874143d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

milko....@mips.com

unread,
Jan 12, 2018, 6:10:01 AM1/12/18
to pdfium-bugs
Thanks for clarification.

We will disable those tests and continue running rest of the tests.

Reply all
Reply to author
Forward
0 new messages