summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* gimarshallingtests: Add test for GValue pass-by-referenceSimon Feltman2013-07-022-0/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=701058
* tests: Fix make distRico Tzschichholz2013-06-211-1/+3
|
* giscanner: Add a simple automatic sections file generatorJasper St. Pierre2013-06-162-1/+371
| | | | | | | | | This is a very basic sections file generator, and isn't too smart. It's simply intended to be a base to build docs on, and will be used if the user doesn't provide a sections file when calling g-ir-doc-tool, for convenience purposes. https://bugzilla.gnome.org/show_bug.cgi?id=699856
* tests: Update misc/pep8.py to 1.4.5Dieter Verfaillie2013-05-072-8/+11
| | | | | | | | | | | | | | | | | Version in our tree is a wee bit outdated. For example, later work will introduce an utf8 encoded python source file which our old pep8.py does not yet understand (yeah, it really was *that* ancient)... Updated from: https://raw.github.com/jcrocholl/pep8/1.4.5/pep8.py Takes 552c1f1525e37a30376790151c1ba437776682c5, f941537d1c0a40f0906490ed160db6c79af572d3, 5a4afe2a77d0ff7d9fea13dd93c3304a6ca993de and a17f157e19bd6792c00321c8020dca5e5a281f45 into account... https://bugzilla.gnome.org/show_bug.cgi?id=699535
* Revert addition of __int128 testsColin Walters2013-05-075-87/+0
| | | | | | | | It's not available on 32 bit architectures, which is a pain for our testing because we can't easily make Regress architecture independent. This reverts commit ca93f8474c9f6ca184d0b5806a4e459ad3dcd132.
* Add expected doc files for previous commitColin Walters2013-05-073-0/+75
|
* scanner: Parse __int128 and friends as "int"Colin Walters2013-05-072-0/+14
| | | | | | | | | This is a hack, but all we really want to do is ignore them for now. See https://mail.gnome.org/archives/gtk-devel-list/2013-May/msg00013.html https://bugzilla.gnome.org/show_bug.cgi?id=699722
* build: use diff -r when testing generated docsDieter Verfaillie2013-05-061-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* build: silence "make[5]: unlink: Regress-1.0-Python: Is a directory"Dieter Verfaillie2013-05-061-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* build: make it clear generated documentation goes in $(builddir)Dieter Verfaillie2013-05-061-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* GIMarshallingTests: remove a function that does not existsGiovanni Campagna2013-04-231-1/+0
| | | | | | It's breaking the gjs test suite https://bugzilla.gnome.org/show_bug.cgi?id=698698
* tests: add missing expected generated documentationDieter Verfaillie2013-04-226-0/+233
| | | | | | | | a09072bd1f75dfc7497ed599e03e331bff411fd4 introduced new symbols in tests/scanner/regress.[ch] but was missing the expected generated documentation. https://bugzilla.gnome.org/show_bug.cgi?id=698616
* fix "make distcheck"Dieter Verfaillie2013-04-214-6/+11
| | | | | | | | | | - Configure with --enable-doctool when running "make distcheck" - Remove $(top_builddir)/.make-check-passed as the pre-commit hook using this was removed in de84ea0cf212c251e099f456bb675492f664e93d - Fix CLEANFILES + manual rm invocations - Fix running warning tests uninstalled (VPATH build issue) https://bugzilla.gnome.org/show_bug.cgi?id=697669
* tests: Add a struct with fixed-size gcharColin Walters2013-04-193-0/+36
| | | | See https://bugzilla.redhat.com/920595
* giscanner: fix broken xml:whitespace attributes in .gir filesDieter Verfaillie2013-04-093-358/+358
| | | | | | | The XML specification clearly states it's xml:space http://www.w3.org/TR/xml/#sec-white-space https://bugzilla.gnome.org/show_bug.cgi?id=628739
* tests: fix a too wide search/replaceDieter Verfaillie2013-04-0915-33/+32
| | | | | | Changed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697613
* tests: Restore intentional mixed tab/space indentationDieter Verfaillie2013-04-091-8/+8
| | | | | | Removed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697612
* gimarshallingtests: Fix vfunc_return_enum typeSimon Feltman2013-04-041-1/+1
| | | | | | | Change mistaken return type of GIMarshallingTestsFlags to GIMarshallingTestsEnum in vfunc_return_enum. https://bugzilla.gnome.org/show_bug.cgi?id=637832
* gimarshallingtests: Add tests for enum returned from vfuncSimon Feltman2013-03-182-2/+41
| | | | | | | Add vfuncs and methods for an object returning an enum or using one as an output argument. https://bugzilla.gnome.org/show_bug.cgi?id=637832
* tests: Add more torture CPPFLAGS for RegressColin Walters2013-03-061-3/+4
| | | | | | | | | This helps reproduce the issue with spidermonkey's .pc file using -include. Also add a single quote test case. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* tests: Remove duplicate specification of CPPFLAGS for RegressColin Walters2013-03-061-2/+2
| | | | Previous commit introduced the flaw.
* regress: Add a test case for passing -Dquoted_stringColin Walters2013-03-051-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695182
* Revert "gi-r-scanner: add support for raw CFLAGS flags option"Colin Walters2013-03-051-2/+1
| | | | | | Doesn't work with arguments that have shell quotes. This reverts commit 95b03cf87efbd4fea4b7d55601c9752cefd29bfc.
* gi-r-scanner: add support for raw CFLAGS flags optionTim Lunn2013-03-061-1/+2
| | | | | | | | gi-r-scanner chokes when gir_CFLAGS have an '-include <header>' since this is not a recognised option. This commit adds a new --cflags option that passes cflags directly to the spawned gcc. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* tests: Fix memory leak in GIMarshallingTestsPropertiesObjectMartin Pitt2013-03-041-0/+8
| | | | | | Free the some_strv property on finalization. Detected by PyGObject's test_gi.TestPropertiesObject.test_strv test case.
* tests: Fix memory leak in gi_marshalling_tests_ghashtable_utf8_container_outMartin Pitt2013-03-041-1/+1
| | | | | Similarly to the previous commit, we need to provide free functions for (transfer full) returned hash tables.
* tests: Fix memory leak in gi_marshalling_tests_ghashtable_utf8_full_returnMartin Pitt2013-03-041-1/+1
| | | | | For the "transfer full" case we need to supply free functions for the created hash table in gi_marshalling_tests_ghashtable_utf8_full_return().
* tests: Fix memory leak in gi_marshalling_tests_init_function()Martin Pitt2013-03-041-0/+2
| | | | | | In gi_marshalling_tests_init_function(), free the array string element before removing it. This fixes the memory leak in PyGObject's test_gi.TestArray.test_init_function test.
* Reformat code to GNU styleMartin Pitt2013-02-273-1844/+1941
| | | | | This was achieved by running "indent -gnu -i2 -nut -l120" over C files which use a different style, and manually fixing pointer declarations and modelines.
* Add test case for signal with a C array and length argumentMartin Pitt2013-02-276-0/+215
| | | | By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241.
* tests: Add missing expected filesColin Walters2013-02-2717-0/+774
|
* scanner: internals cleanup: Key more things off NamespaceColin Walters2013-02-267-10/+0
| | | | | | | | | | | The .gir format has a weird legacy where stuff like the includes are outside of the <namespace>. But conceptually they're tied together, so let's start reflecting this in the code. This way we can just pass around and look at a Namespace object instead of a 4-tuple of (namespace, includes, c_includes, pkg_config). https://bugzilla.gnome.org/show_bug.cgi?id=694593
* doctool: Use builtin namespace walkerColin Walters2013-02-2620-1/+643
| | | | | | Rather than hand-rolling our own. This ensures we traverse all nodes. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* scanner: Synthesize argument names if we don't see oneColin Walters2013-02-263-9/+9
| | | | | | | While this is a bit lame, we need to do something. We preserve the warning message. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* test/gimarshallingtests.c: Fix build on C89 compilersChun-wei Fan2013-02-231-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694426
* Install utility.[hc]Martin Pitt2013-02-201-1/+1
| | | | These are used by foo.[hc] and required to build Regress.gir.
* Ship missing header files for tests/warn/ checkMartin Pitt2013-02-201-1/+1
|
* tests: Be compatible with Automake 1.11, 1.12 and 1.13, and the future, ↵Colin Walters2013-02-192-3/+13
| | | | | | | | hopefully Automake only sees it as one test now, but eh, who cares. https://bugzilla.gnome.org/show_bug.cgi?id=694198
* tests: Be compatible with both Automake 1.12 and 1.13Colin Walters2013-02-191-2/+1
| | | | | | | Revert to using the serial test driver, as that's the easiest path for now, unless we generated a binary to run each warn test. https://bugzilla.gnome.org/693539
* tests: Add RegressTestReferenceEnum to the doc testsJasper St. Pierre2013-02-183-0/+127
| | | | I really messed this one up :(
* sourcescanner: Make sure to mark constants as setJasper St. Pierre2013-02-181-0/+15
| | | | This fixes complex constants.
* sourcescanner: Fix symbolic references in enum membersJasper St. Pierre2013-02-162-15/+24
| | | | | | | We need to copy the source symbols, otherwise we'll overwrite their values. This isn't good. https://bugzilla.gnome.org/show_bug.cgi?id=693939
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-15367-367/+367
|
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-151247-1413/+1417
| | | | | | We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later.
* doctool: Make sure to add "new"Jasper St. Pierre2013-02-1515-15/+15
|
* doctool: Don't put curly braces around the construct props if there are noneJasper St. Pierre2013-02-1511-22/+11
|
* doctool: Don't link to the namespace from the namespace pageJasper St. Pierre2013-02-153-6/+3
|
* tests: Clean up doc generation testsJasper St. Pierre2013-02-151-3/+0
| | | | We no longer have to mkdir -p
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-1554-1353/+0
| | | | | | Clutter has thousands of keysym constants, and until we get them all on one page, this is just tons of tiny files that are just noise.
* doctool: Remove an extra <p> in the signalsJasper St. Pierre2013-02-158-8/+8
|