< prev index next >
test/jdk/java/awt/JAWT/JAWT.sh
Print this page
rev 59383 : [mq]: final
*** 1,8 ****
#!/bin/sh
! # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,8 ----
#!/bin/sh
! # Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 65,90 ****
;;
AIX )
echo "Test passed. Not supported on AIX."
exit 0
;;
- SunOS )
- NULL=/dev/null
- PS=":"
- FS="/"
- if [ `uname -p | grep -c 'sparc'` -gt '0' ]
- then
- ARCH="sparc"
- else
- ARCH="i386"
- fi
- SYST="solaris"
- MAKEFILE="Makefile.unix"
- CC="gcc"
- MAKE="make"
- LD_LIBRARY_PATH="."
- ;;
Windows* )
NULL=null
PS=";"
FS="\\"
MAKEFILE="Makefile.win"
--- 65,74 ----
*** 147,165 ****
if [ "$?" -ne '0' ]
then
echo "No C compiler found. Test passed."
exit 0
fi
- case "$OS" in
- SunOS )
- ${CC} -v >${NULL} 2>&1
- if [ "$?" -ne '0' ]
- then
- echo "No C compiler found. Test passed."
- exit 0
- fi
- esac
cp ${TESTSRC}${FS}${MAKEFILE} .
JAVA=${TESTJAVA}${FS}bin${FS}java
JAVAC=${TESTJAVA}${FS}bin${FS}javac
--- 131,140 ----
< prev index next >