Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses Add option to specify an alternate libra...
details: https://anonhg.NetBSD.org/src/rev/e054669b82cc
branches: trunk
changeset: 999119:e054669b82cc
user: blymn <blymn%NetBSD.org@localhost>
date: Sun May 19 22:34:23 2019 +0000
description:
Add option to specify an alternate library location to allow testing
a development library version without installing it.
diffstat:
tests/lib/libcurses/debug_test | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 84fa51154468 -r e054669b82cc tests/lib/libcurses/debug_test
--- a/tests/lib/libcurses/debug_test Sun May 19 19:06:53 2019 +0000
+++ b/tests/lib/libcurses/debug_test Sun May 19 22:34:23 2019 +0000
@@ -20,6 +20,8 @@
echo " script."
echo " -f : Specify the file name for curses tracing the default is"
echo " ${CURSES_TRACE_FILE}"
+ echo " -L : Add the argument as a prefix to LD_LIBRARY_PATH to"
+ echo " use an alternate libcurses version"
echo " -s : Specify the slave command. Defaults to \"../slave/slave\""
echo " -v : Enable verbose output"
echo
@@ -28,7 +30,7 @@
#
ARGS=""
#
-while getopts cf:s:v opt
+while getopts cf:L:s:v opt
do
case "${opt}" in
c)
@@ -43,6 +45,10 @@
CURSES_TRACE_FILE=${OPTARG}
;;
+ L)
+ LD_LIBRARY_PATH=${OPTARG}:${LD_LIBRARY_PATH}
+ ;;
+
s)
SLAVE=${OPTARG}
;;
Home |
Main Index |
Thread Index |
Old Index