diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-12-28 17:47:31 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-12-28 17:47:31 -0500 |
commit | 5d8e4b358b520cdf680d28f79155d4b33ad4cf6e (patch) | |
tree | 34b118178742aff749f1e893876343595f38f7b4 | |
parent | 27b23c6c01cd82e6582e559228258a30148425c2 (diff) |
Set certain env vars before executing the test program.
-rw-r--r-- | configure.ac | 1 | ||||
-rwxr-xr-x | run-test.sh.in | 1 | ||||
-rw-r--r-- | setenv.sh.in | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 70a94b4..3e9f6d5 100644 --- a/configure.ac +++ b/configure.ac @@ -50,4 +50,5 @@ AC_SUBST(RUNTIME_LIB_PATH) AC_OUTPUT(Makefile) AC_OUTPUT(run-test.sh) +AC_OUTPUT(setenv.sh) diff --git a/run-test.sh.in b/run-test.sh.in index b88f0f7..35cdbf2 100755 --- a/run-test.sh.in +++ b/run-test.sh.in @@ -1,6 +1,7 @@ #!/bin/bash export LD_LIBRARY_PATH=@OOO_INSTALL_PATH@/program:@OOO_INSTALL_PATH@/ure/lib +source @ROOTDIR@/setenv.sh cd @OOO_INSTALL_PATH@/ure/lib @ROOTDIR@/test diff --git a/setenv.sh.in b/setenv.sh.in new file mode 100644 index 0000000..0602456 --- /dev/null +++ b/setenv.sh.in @@ -0,0 +1,3 @@ +CTRL_XLS_IN_DIR=@ROOTDIR@/control-import + +export CTRL_XLS_IN_DIR |