[yast-commit] r67298 - /trunk/ruby-bindings/tests/ycp/run_ycp_test.sh
Author: jreidinger Date: Wed Jan 25 16:56:56 2012 New Revision: 67298 URL: http://svn.opensuse.org/viewcvs/yast?rev=67298&view=rev Log: fix ruby bindings test suite on x86_64 Modified: trunk/ruby-bindings/tests/ycp/run_ycp_test.sh Modified: trunk/ruby-bindings/tests/ycp/run_ycp_test.sh URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/tests/ycp/run_ycp_test.sh?rev=67298&r1=67297&r2=67298&view=diff ============================================================================== --- trunk/ruby-bindings/tests/ycp/run_ycp_test.sh (original) +++ trunk/ruby-bindings/tests/ycp/run_ycp_test.sh Wed Jan 25 16:56:56 2012 @@ -2,7 +2,11 @@ # $1 is the test case DIR=${1%/*} # RPM_BUILD_ROOT will hold the YCP Ruby plugin at rpm build time -export Y2DIR=$RPM_BUILD_ROOT/usr/lib/YaST2 +if [ -d $RPM_BUILD_ROOT/usr/lib64 ]; then #we are on 64bit + export Y2DIR=$RPM_BUILD_ROOT/usr/lib64/YaST2 +else + export Y2DIR=$RPM_BUILD_ROOT/usr/lib/YaST2 +fi # DEBUG=valgrind # DEBUG="strace -s1000 -o log -e trace=file" : ${PREFIX=/usr} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org