Changeset 561 for trunk/config.tests/mac
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/config.tests/mac/crc.test
r2 r561 53 53 cd "$OUTDIR/$TEST" 54 54 55 makedistclean >/dev/null 2>&155 $MAKE distclean >/dev/null 2>&1 56 56 "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile" 57 57 58 58 if [ "$VERBOSE" = "yes" ]; then 59 make59 $MAKE 60 60 else 61 make>/dev/null 2>&161 $MAKE >/dev/null 2>&1 62 62 fi 63 63 -
trunk/config.tests/mac/crc/main.cpp
r2 r561 1 /**************************************************************************** 2 ** 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the config.tests of the Qt Toolkit. 8 ** 9 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage 11 ** Licensees holding valid Qt Commercial licenses may use this file in 12 ** accordance with the Qt Commercial License Agreement provided with the 13 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 15 ** 16 ** GNU Lesser General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU Lesser 18 ** General Public License version 2.1 as published by the Free Software 19 ** Foundation and appearing in the file LICENSE.LGPL included in the 20 ** packaging of this file. Please review the following information to 21 ** ensure the GNU Lesser General Public License version 2.1 requirements 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 ** 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 ** 28 ** GNU General Public License Usage 29 ** Alternatively, this file may be used under the terms of the GNU 30 ** General Public License version 3.0 as published by the Free Software 31 ** Foundation and appearing in the file LICENSE.GPL included in the 32 ** packaging of this file. Please review the following information to 33 ** ensure the GNU General Public License version 3.0 requirements will be 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 ** $QT_END_LICENSE$ 39 ** 40 ****************************************************************************/ 41 1 42 #include <iostream> 2 43 #include <cstdlib> … … 31 72 ulTable[iCodes] = Reflect(iCodes, 8) << 24; 32 73 for(int iPos = 0; iPos < 8; iPos++) { 33 ulTable[iCodes] = ( ulTable[iCodes] << 1)74 ulTable[iCodes] = ((ulTable[iCodes] << 1) & 0xffffffff) 34 75 ^ ((ulTable[iCodes] & (1 << 31)) ? ulPolynomial : 0); 35 76 } … … 44 85 for(int iPos = 1; iPos < (cChar + 1); iPos++) { 45 86 if(ulReflect & 1) { 46 ulValue |= (1 << (cChar - iPos));87 ulValue |= (1ul << (cChar - iPos)); 47 88 } 48 89 ulReflect >>= 1; -
trunk/config.tests/mac/defaultarch.test
r2 r561 4 4 VERBOSE=$2 5 5 WORKDIR=$3 6 QT_MAC_DEF UALT_ARCH=6 QT_MAC_DEFAULT_ARCH= 7 7 8 8 touch defaultarch.c … … 18 18 # detect our known archs. 19 19 if echo "$FIlE_OUTPUT" | grep '\<i386\>' > /dev/null 2>&1; then 20 QT_MAC_DEF UALT_ARCH=x86 # configure knows it as "x86" not "i386"20 QT_MAC_DEFAULT_ARCH=x86 # configure knows it as "x86" not "i386" 21 21 fi 22 22 if echo "$FIlE_OUTPUT" | grep '\<x86_64\>' > /dev/null 2>&1; then 23 QT_MAC_DEF UALT_ARCH=x86_6423 QT_MAC_DEFAULT_ARCH=x86_64 24 24 fi 25 25 if echo "$FIlE_OUTPUT" | grep '\<ppc\>' > /dev/null 2>&1; then 26 QT_MAC_DEF UALT_ARCH=ppc26 QT_MAC_DEFAULT_ARCH=ppc 27 27 fi 28 28 if echo "$FIlE_OUTPUT" | grep '\<ppc64\>' > /dev/null 2>&1; then 29 QT_MAC_DEF UALT_ARCH=ppc6429 QT_MAC_DEFAULT_ARCH=ppc64 30 30 fi 31 31 32 [ "$VERBOSE" = "yes" ] && echo "setting QT_MAC_DEF UALT_ARCH to \"$QT_MAC_DEFUALT_ARCH\""33 export QT_MAC_DEF UALT_ARCH32 [ "$VERBOSE" = "yes" ] && echo "setting QT_MAC_DEFAULT_ARCH to \"$QT_MAC_DEFAULT_ARCH\"" 33 export QT_MAC_DEFAULT_ARCH -
trunk/config.tests/mac/xcodeversion.cpp
r2 r561 1 /**************************************************************************** 2 ** 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the config.tests of the Qt Toolkit. 8 ** 9 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage 11 ** Licensees holding valid Qt Commercial licenses may use this file in 12 ** accordance with the Qt Commercial License Agreement provided with the 13 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 15 ** 16 ** GNU Lesser General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU Lesser 18 ** General Public License version 2.1 as published by the Free Software 19 ** Foundation and appearing in the file LICENSE.LGPL included in the 20 ** packaging of this file. Please review the following information to 21 ** ensure the GNU Lesser General Public License version 2.1 requirements 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 ** 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 ** 28 ** GNU General Public License Usage 29 ** Alternatively, this file may be used under the terms of the GNU 30 ** General Public License version 3.0 as published by the Free Software 31 ** Foundation and appearing in the file LICENSE.GPL included in the 32 ** packaging of this file. Please review the following information to 33 ** ensure the GNU General Public License version 3.0 requirements will be 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 ** $QT_END_LICENSE$ 39 ** 40 ****************************************************************************/ 41 1 42 #include <stdlib.h> 2 43 #include <stdio.h>
Note:
See TracChangeset
for help on using the changeset viewer.