aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-21 16:54:54 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-11-30 08:25:19 -0800
commit7127217101bb2616e69e5988cc3f7b6b62974b53 (patch)
treee4ebd4d3580115917a80fd4981430b47b2d6199e /paludis
parentff7bac0305d145fa4f53844b5a37e0f51edbc48f (diff)
downloadpaludis-7127217101bb2616e69e5988cc3f7b6b62974b53.tar.gz
paludis-7127217101bb2616e69e5988cc3f7b6b62974b53.tar.xz
test: adjust the hooker test
Adjust the hooker test setup for the new build layout caused by the migration to CMake which does not use libtool. Adjust the setup script for the news and env update hooks.
Diffstat (limited to 'paludis')
-rwxr-xr-xpaludis/hooker_TEST_setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/hooker_TEST_setup.sh b/paludis/hooker_TEST_setup.sh
index a0c0dfbda..bc8228eb6 100755
--- a/paludis/hooker_TEST_setup.sh
+++ b/paludis/hooker_TEST_setup.sh
@@ -51,10 +51,10 @@ chmod +x fancy_hook_output/one.hook
mkdir so_hook
-ln -s ../../.libs/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} so_hook
+ln -s ${TOP_BUILDDIR}/paludis/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} so_hook
mkdir so_hook_output
-ln -s ../../.libs/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} so_hook_output
+ln -s ${TOP_BUILDDIR}/paludis/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} so_hook_output
mkdir py_hook
@@ -223,7 +223,7 @@ chmod +x ordering.common
for a in a b c d e f g h i j k ; do
ln -s ../ordering.common ordering/${a}.hook
done
-ln -s ../../.libs/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} ordering
+ln -s ${TOP_BUILDDIR}/paludis/libpaludissohooks_TEST_${PALUDIS_PC_SLOT}.so.${SO_SUFFIX} ordering
cat <<"END" > ordering/py_hook.py
def hook_run_ordering(env, hook_env):
file("hooker_TEST_dir/ordering.out", "a").write("py_hook\n")