mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 03:40:38 +01:00
92 lines
2.5 KiB
Bash
Executable file
92 lines
2.5 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
echo ===================================
|
|
env
|
|
|
|
echo ===================================
|
|
NOCONFIGURE=yes ./orig-autogen.sh
|
|
|
|
echo ===================================
|
|
./configure \
|
|
PYTHON="${PYTHON}" \
|
|
--enable-maintainer-mode \
|
|
--enable-more-warnings=error \
|
|
--prefix=/opt/test \
|
|
--sysconfdir=/etc \
|
|
--enable-gtk-doc \
|
|
--enable-more-asserts \
|
|
--with-more-asserts=100 \
|
|
--enable-more-logging \
|
|
--enable-compile-warnings=yes\
|
|
--with-valgrind=no \
|
|
--enable-concheck \
|
|
--enable-ifcfg-rh \
|
|
--enable-ifcfg-suse \
|
|
--enable-ifupdown \
|
|
--enable-ifnet \
|
|
--enable-vala=yes \
|
|
--enable-polkit=yes \
|
|
--with-nmtui=yes \
|
|
--with-modem-manager-1 \
|
|
--with-suspend-resume=systemd \
|
|
--enable-teamdctl=yes \
|
|
--enable-tests=root \
|
|
--with-netconfig=/path/does/not/exist/netconfig \
|
|
--with-resolvconf=/path/does/not/exist/resolvconf \
|
|
--with-crypto=nss \
|
|
--with-session-tracking=systemd \
|
|
--with-consolekit=yes \
|
|
--with-systemd-logind=yes \
|
|
--with-consolekit=yes
|
|
|
|
make -j10 src/libnm-client-impl/tests/test-nm-client
|
|
|
|
#make check -k
|
|
#
|
|
#echo ===================================
|
|
#make check -k
|
|
#
|
|
#echo ===================================
|
|
#src/libnm-client-impl/tests/test-nm-client
|
|
|
|
echo ===================================
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
src/libnm-client-impl/tests/test-nm-client -p /libnm/activate-virtual
|
|
|
|
echo ===================================
|
|
env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
src/libnm-client-impl/tests/test-nm-client
|
|
|
|
echo ===================================
|
|
env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
src/libnm-client-impl/tests/test-nm-client -p /libnm/activate-virtual
|
|
|
|
|
|
echo ===================================
|
|
dnf -y install strace
|
|
|
|
echo ===================================
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
strace -s4096 -f -otest1 src/libnm-client-impl/tests/test-nm-client
|
|
|
|
echo ===================================
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
strace -s4096 -f -otest2 src/libnm-client-impl/tests/test-nm-client -p /libnm/activate-virtual
|
|
|
|
echo ===================================
|
|
strace -s4096 -f -otest3 env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
src/libnm-client-impl/tests/test-nm-client
|
|
|
|
echo ===================================
|
|
strace -s4096 -f -otest4 env -i XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \
|
|
G_DBUS_DEBUG=message LIBNM_CLIENT_DEBUG=trace \
|
|
src/libnm-client-impl/tests/test-nm-client -p /libnm/activate-virtual
|
|
|
|
|
|
grep '' test?
|
|
|
|
exit 1
|