qubes-installer-qubes-os/anaconda/tests/testenv.sh
Marek Marczykowski-Górecki 6bc5671491
anaconda: update to 25.20.9-1
Apply:
  git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1

And resolve conflicts.

QubesOS/qubes-issues#2574
2017-02-14 02:36:20 +01:00

42 lines
1.3 KiB
Bash

#!/bin/sh
if [ -z "$top_srcdir" ]; then
echo "*** top_srcdir must be set"
exit 1
fi
# If no top_builddir is set, use top_srcdir
: "${top_builddir:=$top_srcdir}"
if [ -z "$PYTHONPATH" ]; then
PYTHONPATH="${top_builddir}/pyanaconda/isys/.libs:${top_srcdir}/pyanaconda:${top_srcdir}:${top_srcdir}/tests/lib:${top_srcdir}/dracut"
else
PYTHONPATH="${PYTHONPATH}:${top_builddir}/pyanaconda/isys/.libs:${top_srcdir}/pyanaconda:${top_srcdir}:${top_srcdir}/tests/lib:${top_srcdir}/dracut"
fi
if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH="${top_builddir}/widgets/src/.libs"
else
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${top_builddir}/widgets/src/.libs"
fi
ANACONDA_INSTALL_CLASSES="${top_srcdir}/pyanaconda/installclasses"
GI_TYPELIB_PATH="${top_builddir}/widgets/src"
ANACONDA_DATADIR="${top_srcdir}/data"
export ANACONDA_DATADIR
export ANACONDA_INSTALL_CLASSES
export GI_TYPELIB_PATH
export LD_LIBRARY_PATH
export PYTHONPATH
export top_srcdir
export top_builddir
# This must be added to gi.overrides.__path__ by any test requiring the
# AnacondaWidgets gi-overrides
export ANACONDA_WIDGETS_OVERRIDES="${top_srcdir}/widgets/python"
export UIPATH="${top_srcdir}/pyanaconda/ui/gui/"
export GLADE_CATALOG_SEARCH_PATH="${top_srcdir}/widgets/glade"
export GLADE_MODULE_SEARCH_PATH="${top_builddir}/widgets/src/.libs"
export ANACONDA_DATA="${top_srcdir}/data"