This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Small patch for mkcheck.in
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Small patch for mkcheck.in
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Mon, 26 Jun 2000 20:47:43 +0200
- Organization: HERMES SoftLab
I have CVSREAD defined on my systems, which makes all files in CVS
read-only. That in turn means that the test files copied by mkcheck
are read-only, which breaks some tests. The following patch to
mkcheck.in helps. With this patch, the tests pass on Solaris 2.6 with
full marks for shared lib.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70
2000-06-26 Branko Cibej <branko.cibej@hermes.si>
* mkcheck.in: Make the *.txt and *.tst files writable
after copying them to $TEST_DIR.
Index: mkcheck.in
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/mkcheck.in,v
retrieving revision 1.13
diff -c -p -r1.13 mkcheck.in
*** mkcheck.in 2000/06/19 03:14:39 1.13
--- mkcheck.in 2000/06/26 18:41:56
*************** rm -rf ./*core
*** 133,138 ****
--- 133,140 ----
# Copy over the data files for filebufs in read-only mode
cp $SRC_DIR/testsuite/27_io/*.txt $TEST_DIR
cp $SRC_DIR/testsuite/27_io/*.tst $TEST_DIR
+ chmod +w $TEST_DIR/*.txt
+ chmod +w $TEST_DIR/*.tst
# Emit useful info about compiler and platform
echo "host: $(uname -mrsv)" >> $RESULTS_FILE