summaryrefslogtreecommitdiff
path: root/tests/offsets
Commit message (Collapse)AuthorAgeFilesLines
* tests: Switch two more uses to LOG_COMPILER to fix parallel-testsColin Walters2014-01-251-2/+1
| | | | | | This is similar to previous commits; we need to use LOG_COMPILER in order for Automake's parallel-tests framework to work. It's not allowed to include binaries in TESTS_ENVIRONMENT anymore.
* tests: Use Automake test harness for tests/offsetsSimon Feltman2014-01-021-10/+13
| | | | | | | | Replace usage of check-local with the Automake test harness. Change check_ variable usage to EXTRA_ in order to avoid building these dependencies with targeted testing using TESTS= in parent directories. https://bugzilla.gnome.org/show_bug.cgi?id=720713
* giscanner: store code before and after comment blockDieter Verfaillie2013-10-081-2/+1
| | | | | | so we can later use them to re-write source files containing broken GTK-Doc comment blocks where /** is preceded by and/or */ is followed by code...
* tests/offsets: Remove leftover g_type_init() callColin Walters2012-10-311-2/+0
|
* Fix tests to look in correct directory for typelibsColin Walters2010-11-161-1/+1
| | | | With nonrecursive they're in $(top_builddir) now
* Switch to nonrecursive make for core (i.e. not tests/)Colin Walters2010-11-091-1/+1
| | | | | This is cleaner and faster, and prepares us better for an incoming import of CMPH.
* [test] Fix a leftover renameJohan Dahlin2010-09-131-1/+1
| | | | The gir name got renamed, update the rules to reflect that
* tests: Fix namespacing for BarApp (should be just Bar)Colin Walters2010-08-313-27/+28
|
* Use AM_V_GEN more a more quiet buildJohan Dahlin2009-12-311-1/+1
| | | | Also suppress a bit more using @
* Add a Makefile.introspectionJohan Dahlin2009-12-141-13/+8
| | | | | This will make it easier for third-party projects to use introspection by having easy make rules.
* Remove a remnant of shaveJohan Bilien2009-09-181-1/+1
|
* LD_LIBRARY_PATH exorcismColin Walters2009-08-241-4/+2
| | | | | | | | | | | | | | | Thanks to commit 6d510b8db, we now no longer need LD_LIBRARY_PATH to be set for invoking the compiler. Next, before we were taking the LD_LIBRARY_PATH variable and turning it into a compile path, presumably to attempt to handle the cases where we weren't getting the right -L flags. Also interacting with this was a while ago we weren't really doing uninstalled libtool libraries correctly, which is probably how hacks involving LD_LIBRARY_PATH crept into the scanner. Just require that we're passed the right -L flags, and we should be doing libtool libraries better now.
* Remove some $(builddir) that crept back inOwen W. Taylor2009-08-201-2/+2
| | | | | | | With recent merges, a few instances of $(builddir) got reintroduced. Remove them. http://bugzilla.gnome.org/show_bug.cgi?id=592114
* Bug 592055 - Build/test fixesColin Walters2009-08-171-1/+1
| | | | The last few commits regressed 'check'; fix those up.
* Support passing --library=lib<foo>.laOwen W. Taylor2009-08-171-4/+5
| | | | | | | | | | | | | | | | In addition to the current --library=<foo>, support --library=lib<foo>.la. This makes it unambiguous that we are referencing an uninstalled library and allows accurate extraction of the shared library name for the uninstalled library. * tests/scanner/Makefile.am tests/offsets/Makefile.am: Use the new form of --library=. Also some LD_LIBRARY_PATH frobbing as needed. *-expected.gir *-expected.tgir: We now pick out the shared library accurately, so fix shared-library="" in our reference girs. (The comparison may need some pre-sanitization now to work on non-ELF) http://bugzilla.gnome.org/show_bug.cgi?id=591669
* autoconf-2.64 compat: Don't use $(builddir)Owen W. Taylor2009-08-171-2/+2
| | | | | | | | $(builddir) is not a standard automake variable. With autoconf < 2.64 it ends up getting set in every Makefile.in to '.' (because autoconf defines it), but that is no longer the case for 2.64. Since $(builddir) was always '.', just use that instead.
* Use shave to reduce compiling outputJohan Dahlin2009-02-201-1/+1
| | | | Which let's us focus on the important warnings.
* Bug 569408, Bug 568680 - Scanner misses fields (at least in GObject.Object)Colin Walters2009-02-022-1/+21
| | | | | | | | The scanner misses all fields of the GObject struct -- there are no <field> children of the <class> element for GObject in the GIR. This of course yields wrong field offsets for all derived objects. svn path=/trunk/; revision=1079
* Bug 563469 – Arrays not treated correctly in struct offset calculationColin Walters2009-02-022-1/+15
| | | | | | | Arrays are currently not handled specially, and hence treated as pointers in giroffsets.c:get_field_size_alignment(), which is (obviously) wrong. svn path=/trunk/; revision=1078
* Bug 567813 – Everything should be versionedJohan Dahlin2009-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2009-01-15 Johan Dahlin <jdahlin@async.com.br> Bug 567813 – Everything should be versioned * gir/Makefile.am: * girepository/Makefile.am: * girepository/girepository.c (init_globals): * girepository/girparser.c (locate_gir): * giscanner/dumper.py: * giscanner/transformer.py: * gobject-introspection-1.0.pc.in: * tests/everything/Makefile.am: * tests/invoke/Makefile.am: * tests/offsets/Makefile.am: * tests/repository/Makefile.am: * tests/scanner/Makefile.am: * tools/Makefile.am: svn path=/trunk/; revision=1046
* Add --libtool option which we expect Automake-using people to passColin Walters2008-11-261-0/+1
| | | | svn path=/trunk/; revision=977
* Bug 560825 – Add size and alignment to typelibOwen Taylor2008-11-161-2/+11
| | | | | | | | | | | | | | | | Include the size and alignment of structures and unions in the typelib, and add getter methods to retrieve them from GIStructInfo/GIUnionInfo. * docs/typelib-format.txt girepository/gtypelib.h girepository/girnode.c girepository/girmodule.c girepository/gtypelib.c: Add size and alignment to StructBlob and UnionBlob. * girepository/ginfo.c girepository/girepository.h: Add g_[struct|union]_get[size|alignment](). * test/offsets/gen-gitestoffsets: Test overall structure size and alignment. svn path=/trunk/; revision=930
* Bug 558436 - avoid having scanner load app codeColin Walters2008-11-131-10/+5
| | | | svn path=/trunk/; revision=912
* fix gen-gitestoffsets invocation with builddir != srcdirTommi Komulainen2008-11-121-1/+1
| | | | | | | | | 2008-11-12 Tommi Komulainen <tommi.komulainen@iki.fi> * tests/offsets/Makefile.am (gitestoffsets.c): fix gen-gitestoffsets invocation with builddir != srcdir svn path=/trunk/; revision=896
* Add tests for field offset computationsOwen Taylor2008-11-114-0/+418
tests/offsets/offsets.h: Header file with structure definitions to test tests/offsets/gen-gitestoffsets: Generate a C program that computes field offsets for the structures in offsets.h two ways: using the information from a generated typelib, and as computed by the compiler. We diff these two versions to test that everything is OK. svn path=/trunk/; revision=878