tests/auto/qmake/testdata/comments/comments.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 21:20:32 +0300
changeset 34 a33bf25e6f72
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201033 Kit: 201035

LIST = 1 2 3 4 #a comment
!equals( LIST, 1 2 3 4 ) {
   message( "FAILED: inline comment" )
}

LIST = 1 \
       2 \
#      3 \
       4
!equals( LIST, 1 2 4 ) {
   message( "FAILED: commented out continuation" )
}

LIST = 1 \
       2 \#comment
       3 \
       4
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: comment at end of continuation")
}


LIST = 1 2 3 4#comment
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: no space before comment" )
}

LIST = 1 2 3 4$${LITERAL_HASH}five
!equals( LIST, 1 2 3 4$${LITERAL_HASH}five ) {
    message( "FAILED: using LITERAL_HASH" )
}