summaryrefslogtreecommitdiff
path: root/src/check-plt.sh
Commit message (Collapse)AuthorAgeFilesLines
* meson: Add shell script testsUli Schlachter2021-05-141-5/+7
| | | | | | | | | | | | | There are a couple of shell scripts in src/ that run various tests. This commit adds them to the meson build. The one exception is check-def.sh, which I couldn't get to work and thus only add it commented out. check-headers.sh and check-plt.sh required some tweaking to get them to work. check-plt.sh will print an error when run since the file '.libs/lib*.so' does not exist, but it will still run its check correctly.
* Set LC_ALL=C instead of LANG=CBehdad Esfahbod2009-09-161-1/+2
|
* [check-*.sh] Redirect error reports to stderrBehdad Esfahbod2008-09-261-1/+1
|
* Make check-*.sh scripts more portable (#16299)Behdad Esfahbod2008-06-121-4/+6
|
* [src/check-*] Shut make upBehdad Esfahbod2008-01-281-1/+1
|
* [check-plt.sh] Ensure that $MAKE is defined.Chris Wilson2008-01-111-0/+1
| | | | | Copy the check from check-def.sh now that $MAKE is also used in check-plt.sh
* [check] Move the hidden symbol check into check-{def,plt}.shChris Wilson2008-01-111-2/+2
| | | | | | | | Behdad, once again the arbiter of good taste, objected to the use of the dotfile within the Makefile, and suggested that one calls $MAKE to pre-process the source file from within the check scripts. Doing so removes the ugly wart added to Makefile.am...
* [check] Replace compiled symbol visibility checker with shell script.Chris Wilson2008-01-111-6/+8
| | | | | | | | | | | | Behdad Esfahbod objected to the execution of a compiled program to check symbol visibility as it makes cross-compilation more difficult. Instead of executing the program, this method conditionally exports a variable if cairo uses symbol hiding and scans the executable for that symbol in a similar manner to check-def.sh. This has the slight advantage of using the Makefile for performing the compilation, rather than attempting to invoke $(CPP) from a shell script within the test environment.
* [check] Skip def/plt tests if the compiler doesn't support symbol hiding.Chris Wilson2008-01-111-0/+5
| | | | | | | | Compile a trivial program such that it reports whether cairo is hiding its internal symbols and skip the tests that depend upon it. This prevents false errors, such as bug 12726, where the user is presented with a scary make check failure.
* Convert bash scripts to regular sh ones for greater portabilityBehdad Esfahbod2007-12-011-3/+3
|
* Explicitly call bash for bash-specific scriptsCarl Worth2007-11-301-1/+1
| | | | | | | Thanks to Solaris-using Brian Cameron for pointing out that our shell scripts are bash-specific. We'd be glad if someone cared to rewrite them to not require bash, but for now let's have truth in advertising at least.
* [check-plt] Use -W flag to readelf.Chris Wilson2007-10-181-1/+1
| | | | | Pass -W to readelf so that the output (in particular the function name) is not clipped to fit within 80 characters.
* [check-plt] Ignore entries for pixman.Chris Wilson2007-07-051-1/+1
| | | | pixman is now an external library, so we now expect PLT entries.
* [x86-64] check-plt.sh: match on JU?MP_SLO as on x86-64 "SLOT" is truncatedBehdad Esfahbod2006-09-061-1/+1
|
* Add scripts to sanity check the shared object for exported and PLT symbolsBehdad Esfahbod2006-09-061-0/+17
src/check-def.sh checks that the list of symbols exported is the same as the list of symbols in cairo.def, ie. symbols in public header files. (except for symbols starting with _cairo) src/check-plt.sh checks that no PLT entries exist for local function calls. This makes sure we keep the 'slim' annotations uptodate. These two are defined as tests in src/ and will be run during "make distcheck". However, they are skipped if the commands 'nm' and 'readelf' are not found. (We don't really rely on any functionality of eu-readelf, so using readelf proper which should be more commonlly installed.)