Logo
Explore Help
Sign In
isa/mutter
1
0
Fork 0
You've already forked mutter
mirror of https://github.com/brl/mutter.git synced 2025-02-26 09:44:10 +00:00
Code Issues Packages Projects Releases Wiki Activity
mutter/tests/tools/disable-npots.sh.in

16 lines
344 B
Bash
Raw Normal View History

Add a wrapper library to help testing without NPOTs. * tests/tools/Makefile.am: Optionally build the libdisable-npots.la library depending on whether libdl was detected in the configure script. A helper script is also generated to setup the LD_PRELOAD. * tests/conform/Makefile.am: There are now two versions of the test-report and full-report rules. test-report-normal is the same as before and test-report-disable-npots runs the tests with the disable-npots wrapper script. The full-report rule runs both of them and displays two separate HTML files. The test-report rule just runs the normal version as before. * configure.ac: Add a test for libdl * tests/tools/disable-npots.sh.in: New file. Template for the helper script * tests/tools/disable-npots.c: New file
2008-11-24 15:44:16 +00:00
#!/bin/sh
# This script sets up the LD_PRELOAD environment to use
# libdisable-npots.la
# Read the .la file so we can get the library name
. "--builddir--/tests/tools/libdisable-npots.la"
if test -n "$LD_PRELOAD"; then
LD_PRELOAD="${LD_PRELOAD}:";
fi
export LD_PRELOAD="${LD_PRELOAD}--builddir--/tests/tools/.libs/${dlname}"
exec "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 33ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API