config.tests/unix/ptrsize.test
changeset 33 3e2da88830cd
parent 0 1918ee327afb
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
     8 # debuggery
     8 # debuggery
     9 [ "$VERBOSE" = "yes" ] && echo "Testing size of pointers ... ($*)"
     9 [ "$VERBOSE" = "yes" ] && echo "Testing size of pointers ... ($*)"
    10 
    10 
    11 # build and run a test program
    11 # build and run a test program
    12 test -d "$OUTDIR/config.tests/unix/ptrsize" || mkdir -p "$OUTDIR/config.tests/unix/ptrsize"
    12 test -d "$OUTDIR/config.tests/unix/ptrsize" || mkdir -p "$OUTDIR/config.tests/unix/ptrsize"
    13 "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "$SRCDIR/config.tests/unix/ptrsize/ptrsizetest.pro" -o "$OUTDIR/config.tests/unix/ptrsize/Makefile" >/dev/null 2>&1
    13 "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "QT_BUILD_TREE=$OUTDIR" "$SRCDIR/config.tests/unix/ptrsize/ptrsizetest.pro" -o "$OUTDIR/config.tests/unix/ptrsize/Makefile" >/dev/null 2>&1
    14 cd "$OUTDIR/config.tests/unix/ptrsize"
    14 cd "$OUTDIR/config.tests/unix/ptrsize"
    15 
    15 
    16 if [ "$VERBOSE" = "yes" ]; then
    16 if [ "$VERBOSE" = "yes" ]; then
    17   ($MAKE clean && $MAKE)
    17   ($MAKE clean && $MAKE)
    18 else
    18 else