Skip to content

Commit

Permalink
Tests - check for undefined symbols in modules (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt335672 authored Jan 19, 2024
1 parent 5c46043 commit 9960439
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/xorg-test-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ moduledir="$top_builddir/xrdpkeyb/.libs,$moduledir"
moduledir="$top_builddir/xrdpmouse/.libs,$moduledir"

# Run Xorg with compiled modules as a background task
#
# [Linux] Set LD_BIND_NOW (see dlopen(3)) to disable lazy symbol
# resolution so we check the modules for undefined symbols.
# [FreeBSD] Setting LD_BIND_NOW does not affect the operation of
# dlopen()
LD_BIND_NOW=1 \
$XORG \
-modulepath $moduledir \
-config $top_srcdir/xrdpdev/xorg.conf \
Expand Down

0 comments on commit 9960439

Please sign in to comment.