[Webkit-unassigned] [Bug 84325] [GTK] Build and run TestWebKitAPI unit tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 19 06:27:10 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=84325
--- Comment #7 from Carlos Garcia Campos <cgarcia at igalia.com> 2012-04-19 06:27:07 PST ---
(In reply to comment #6)
> (From update of attachment 137866 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=137866&action=review
>
> > Source/ThirdParty/gtest/GNUmakefile.am:65
> > +# #included by gtest-all.cc.
>
> Did you mean to have the second '#' here?
Yes, #include <foo.cc>, this is indeed copied from original gtest Makefile
> > Tools/Scripts/run-gtk-tests:47
> > + TEST_DIRS = [ "unittests", "WebKit2APITests", "TestWebKitAPI/WTF" ]
>
> I'm pretty sure
What?
> > Tools/Scripts/run-gtk-tests:271
> > + def _run_test_google(self, test):
> > + tester_command = [test]
> > + skipped_tests_cases = self._test_cases_to_skip(test)
> > + if skipped_tests_cases:
> > + tester_command.append("--gtest_filter=-%s" % ":".join(skipped_tests_cases))
> > +
> > + return not self._create_process(tester_command, env=self._test_env).wait()
> > +
> > + def _run_test(self, test):
> > + if "unittests" in test or "WebKit2APITests" in test:
> > + return self._run_test_glib(test)
> > +
> > + if "TestWebKitAPI" in test:
> > + return self._run_test_google(test)
> > +
> > + return False
> > +
>
> The logic for running the API tests is already in Tools/Scripts/run-api-tests, so we get that script working instead probably.
GTK+ port doesn't use that script, we use run-gtk-tests
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list