aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/scripts/kissme-mauve
diff options
context:
space:
mode:
authorMatthias Klose <doko@gcc.gnu.org>2007-06-03 23:18:43 +0000
committerMatthias Klose <doko@gcc.gnu.org>2007-06-03 23:18:43 +0000
commite1bea0c0687c5f4551b3a6058ec37ce3705fa6cc (patch)
treea9c9e7d91c484d53fe154f9285fc57325572ce50 /libjava/classpath/scripts/kissme-mauve
parentaf333b9a7f9e1cc1029bec56d48f2de63acdf686 (diff)
downloadgcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.zip
gcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.tar.gz
gcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.tar.bz2
libjava/classpath/ChangeLog.gcj:
2007-05-31 Matthias Klose <doko@ubuntu.com> * javax/management/NotificationBroadcasterSupport.java (getNotificationInfo): Add cast. * native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include directories. * native/jni/qt-peer/Makefile.in: Regenerate. libjava/ChangeLog: 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/natFileWin32.cc (setFilePermissions): New (stub only). _access: Handle EXEC query, stub only. 2007-06-03 Matthias Klose <doko@ubuntu.com> Merged from classpath: * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. * java/lang/System.java(inheritedChannel): New. * java/lang/Character.java: Remove stray`;'. * java/net/MulticastSocket.java: Merged. * java/text/DateFormatSymbols.java(getInstance): New, comment updates. * java/text/Collator.java(getInstance): Merged. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. getDisplayName, getDisplayNames: New. * java/util/logging/Logger.java: Merged. * Regenerate .class and .h files. 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/File.java: Merge with classpath-0.95, new method setFilePermissions, new attribute EXEC. * java/io/natFilePosix.cc (setFilePermissions): New. _access: Handle EXEC query. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. 2007-06-03 Matthias Klose <doko@ubuntu.com> Imported GNU Classpath 0.95. * classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/examples/Makefile.in: Regenerate. * classpath/config.guess, classpath/config.sub, classpath/ltmain.sh : Update. * classpath/configure, classpath/depcomp, classpath/missing, classpath/aclocal.m4, classpath/install-sh: Regenerate. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. * sources.am: Regenerate. * Makefile.in: Regenerate. * Update the .class files and generated CNI header files, add new .class and generated CNI header files. * Remove generated files for removed java source files: classpath/gnu/java/net/BASE64.java, classpath/gnu/java/security/util/Base64.java, classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, classpath/gnu/java/awt/font/autofit/Scaler.java, classpath/gnu/classpath/jdwp/util/Value.java, classpath/gnu/javax/net/ssl/Base64.java. * Remove empty directories. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. * java/lang/Class.java(setAccessible): Merge from classpath. * java/util/Locale.java: Remove. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. * gcj/javaprims.h: Update class declarations. * scripts/classes.pl: Update usage. * HACKING: Mention to build all peers. From-SVN: r125302
Diffstat (limited to 'libjava/classpath/scripts/kissme-mauve')
-rwxr-xr-xlibjava/classpath/scripts/kissme-mauve346
1 files changed, 0 insertions, 346 deletions
diff --git a/libjava/classpath/scripts/kissme-mauve b/libjava/classpath/scripts/kissme-mauve
deleted file mode 100755
index 8a6ee22..0000000
--- a/libjava/classpath/scripts/kissme-mauve
+++ /dev/null
@@ -1,346 +0,0 @@
-#!/bin/sh
-
-CLASSPATH_CVS=~/mauve/classpath
-CLASSPATH_PREFIX=~/mauve/root/classpath
-MAUVE_CVS=~/mauve/mauve
-KISSME_CVS=~/mauve/kissme
-KISSME_PREFIX=~/mauve/root/kissme
-KISSME_BIN=~/mauve/kissme/useful_scripts/kissme
-LOG=/tmp/mauve.log
-RESULTS=/tmp/kissme-mauve.txt
-REPORT=/tmp/kissme-mauve-report.txt
-TIMEOUT=30
-
-rm -f ${LOG} > /dev/null 2>&1
-rm -f ${RESULTS} > /dev/null 2>&1
-today=`date`
-echo "${today}" > ${LOG}
-touch ${RESULTS}
-
-
-_aclocal ()
-{
- aclocal "$@" >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error running aclocal"
- exit 1
- fi
-}
-
-_autoheader ()
-{
- autoheader "$@" >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error running autoheader"
- exit 1
- fi
-}
-
-_automake ()
-{
- automake "$@" >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error running automake"
- exit 1
- fi
-}
-
-_autoconf ()
-{
- autoconf "$@" >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error running autoconf"
- exit 1
- fi
-}
-
-classpath_checkout ()
-{
- if [ ! -d "${CLASSPATH_CVS}" ]; then
- mkdir --parents ${CLASSPATH_CVS}
- local dir=`dirname "${CLASSPATH_CVS}"`
- cd "${dir}"
- cvs -z3 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out classpath"
- exit 1
- fi
- fi
-}
-
-classpath_update ()
-{
- cd "${CLASSPATH_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out classpath"
- exit 1
- fi
-}
-
-classpath_clean ()
-{
- if [ -d "${CLASSPATH_CVS}/build" ]; then
- rm -rf "${CLASSPATH_CVS}/build"
- fi
- if [ -d "${CLASSPATH_PREFIX}" ]; then
- rm -rf "${CLASSPATH_PREFIX}"
- fi
- mkdir --parents "${CLASSPATH_CVS}/build"
- mkdir --parents "${CLASSPATH_PREFIX}"
-}
-
-classpath_configure ()
-{
- cd "${CLASSPATH_CVS}"
-
- _aclocal
- _autoheader
- _automake
- _autoconf
-
- cd "${CLASSPATH_CVS}/build" && ../configure --prefix=${CLASSPATH_PREFIX} --with-gcj --enable-jni >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error configuring"
- exit 1
- fi
-}
-
-classpath_build ()
-{
- cd "${CLASSPATH_CVS}/build" && make >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error during make"
- exit 1
- fi
-}
-
-classpath_install ()
-{
- cd "${CLASSPATH_CVS}/build" && make install >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error during make"
- exit 1
- fi
-}
-
-kissme_checkout ()
-{
- if [ ! -d "${KISSME_CVS}" ]; then
- mkdir --parents ${KISSME_CVS}
- local dir=`dirname "${KISSME_CVS}"`
- cd "${KISSME_CVS}"
- cvs -z3 -d :pserver:anonymous@cvs.kissme.sourceforge.net:/cvsroot/kissme co . >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out kissme"
- exit 1
- fi
- fi
-}
-
-kissme_update ()
-{
- cd "${KISSME_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out kissme"
- exit 1
- fi
-}
-
-kissme_clean ()
-{
- if [ -d "${KISSME_CVS}/build" ]; then
- rm -rf "${KISSME_CVS}/build"
- fi
- if [ -d "${KISSME_PREFIX}" ]; then
- rm -rf "${KISSME_PREFIX}"
- fi
- mkdir --parents "${KISSME_CVS}/build"
- mkdir --parents "${KISSME_PREFIX}"
-}
-
-kissme_configure ()
-{
- cd "${KISSME_CVS}"
-
- _aclocal
- _autoheader
- _automake -a
- _autoconf
-
- cd "${KISSME_CVS}" && ./configure --prefix=${KISSME_PREFIX} \
- --enable-use-zips --with-gnu-classpath=${CLASSPATH_CVS} \
- --with-gnu-classpath-build=${CLASSPATH_CVS}/build \
- --with-classpath-install-dir=${CLASSPATH_PREFIX} >> ${LOG} 2>&1
-
- if [ $? -ne 0 ]; then
- echo "Error configuring"
- exit 1
- fi
-}
-
-kissme_build ()
-{
- cd "${KISSME_CVS}" && make >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error during make"
- exit 1
- fi
-}
-
-kissme_install ()
-{
- cd "${KISSME_CVS}" && make install >> ${LOG} 2>&1
- if [ $? -ne 0 ]; then
- echo "Error during make"
- exit 1
- fi
-}
-
-mauve_checkout ()
-{
- if [ ! -d "${MAUVE_CVS}" ]; then
- mkdir --parents ${MAUVE_CVS}
- local dir=`dirname "${MAUVE_CVS}"`
- cd "${dir}"
- cvs -z3 -d :pserver:anoncvs@sources.redhat.com:/cvs/mauve co mauve >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out mauve"
- exit 1
- fi
- fi
-}
-
-mauve_update ()
-{
- cd "${MAUVE_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "Error checking out mauve"
- exit 1
- fi
-}
-
-kissme_mauve ()
-{
- export JAVAC="jikes -bootclasspath ${CLASSPATH_PREFIX}/share/classpath/glibj.zip"
- export JAVA="${KISSME_BIN}"
-
-# if [ -f "${KISSME_CVS}/useful_scripts/mauve-kissme" ]; then
-# cp -f "${KISSME_CVS}/useful_scripts/mauve-kissme" "${MAUVE_CVS}"
-# fi
-
- if [ -f "${CLASSPATH_CVS}/mauve-classpath" ]; then
- cp -f "${CLASSPATH_CVS}/mauve-classpath" "${MAUVE_CVS}"
- fi
-
- cd "${MAUVE_CVS}"
- if [ $? -ne 0 ]; then
- echo "Error configuring mauve"
- exit 1
- fi
-
- _aclocal
- _automake
- _autoconf
-
- ./configure >> "${LOG}" 2>&1
- if [ $? -ne 0 ]; then
- echo "Error configuring mauve"
- exit 1
- fi
-
- # create class choices from key file
- if [ -f classes ]; then
- rm -f classes 2>/dev/null
- fi
- if [ -f choices ]; then
- rm -f choices 2>/dev/null
- fi
- /bin/sh choose "${MAUVE_CVS}" classpath
- if [ $? -ne 0 ]; then
- echo "Error during choose for mauve"
- exit 1
- fi
-
- # compile classes
- compile=`cat "${MAUVE_CVS}/classes" | tr '.' '/' | awk '{print $1".java"}' | xargs`
- ${JAVAC} -classpath "${MAUVE_CVS}" -d "${MAUVE_CVS}" ${compile} >> "${LOG}" 2>&1
- if [ $? -ne 0 ]; then
- echo "Error during compile for mauve"
- exit 1
- fi
-
- set -m
- for i in `cat "${MAUVE_CVS}/classes"`; do
- echo "$i" | ${JAVA} gnu.testlet.SimpleTestHarness -verbose >> "${RESULTS}" 2>&1 &
-
- vm_pid=$!
- sleep ${TIMEOUT} && kill -9 $vm_pid > /dev/null 2>&1 && echo "FAIL: $i execution aborted" >> "${RESULTS}" &
- kill_pid=$!
- fg %- 2>/dev/null
- kill -9 $kill_pid >/dev/null 2>&1 # && echo Test did not time out
- done
-}
-
-mauve_summary ()
-{
- if [ ! -f "${RESULTS}" ]; then
- echo "Error creating summary"
- exit 1
- fi
-
- pass_cnt=`grep PASS "${RESULTS}" | wc -l`
- fail_cnt=`grep FAIL "${RESULTS}" | wc -l`
- total_cnt=`expr $pass_cnt + $fail_cnt`
-
- today=`date`
- echo "Mauve test results for Kissme" > "${REPORT}"
- echo "Report generated on ${today}" >> "${REPORT}"
- echo "" >> "${REPORT}"
- echo "${fail_cnt} of ${total_cnt} tests failed." >> "${REPORT}"
- echo "" >> "${REPORT}"
- cat "${RESULTS}" >> "${REPORT}"
-}
-
-#--------------------------------------------------------------------
-# Update Classpath CVS
-#--------------------------------------------------------------------
-classpath_checkout
-classpath_update
-
-#--------------------------------------------------------------------
-# Build Classpath with GCJ 3.2
-#--------------------------------------------------------------------
-classpath_clean
-classpath_configure
-classpath_build
-classpath_install
-
-#--------------------------------------------------------------------
-# Update Kissme CVS
-#--------------------------------------------------------------------
-kissme_checkout
-kissme_update
-
-#--------------------------------------------------------------------
-# Build Kissme
-#--------------------------------------------------------------------
-kissme_clean
-kissme_configure
-kissme_build
-#kissme_install
-
-#--------------------------------------------------------------------
-# Update Mauve CVS
-#--------------------------------------------------------------------
-mauve_checkout
-mauve_update
-
-#--------------------------------------------------------------------
-# Execute Mauve
-#--------------------------------------------------------------------
-kissme_mauve
-
-#--------------------------------------------------------------------
-# Create report
-#--------------------------------------------------------------------
-mauve_summary