[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp runltp,1.4,1.5
From: Robert Williamson <robbiew () users ! sourceforge ! net>
Date: 2005-01-19 18:44:49
Message-ID: E1CrKpG-0003BL-4g () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12069
Modified Files:
runltp
Log Message:
Applied patch from Mike Vieths:
===============================
I've noticed that some of the tests in LTP write their files in $TMP,
while others write them in $TMPDIR. The option in runltp to target a
specific directory for temporary storage exports $TMP, but TMPDIR is not
set or exported, resulting in some tests writing to $TMP and some to
$TMPDIR.
I've attached a diff for runltp that exports $TMPDIR as a copy of what's
in $TMP. This seems to cover all the bases.
--
Michael Vieths
Index: runltp
===================================================================
RCS file: /cvsroot/ltp/ltp/runltp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** runltp 2 Sep 2004 20:42:50 -0000 1.4
--- runltp 19 Jan 2005 18:44:42 -0000 1.5
***************
*** 130,134 ****
# removed at end of script.
TMPBASE=$OPTARG
! TMP="${TMPBASE}/ltp-$$";;
f) # Execute user defined set of testcases.
CMDFILE=$OPTARG;;
--- 130,135 ----
# removed at end of script.
TMPBASE=$OPTARG
! TMP="${TMPBASE}/ltp-$$"
! export TMPDIR = "$TMP";;
f) # Execute user defined set of testcases.
CMDFILE=$OPTARG;;
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Ltp-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic