Changeset 69c105f in rtems-testing


Ignore:
Timestamp:
Aug 1, 2011, 7:45:32 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
837df56
Parents:
828eab3
Message:

2011-08-01 Joel Sherrill <joel.sherrill@…>

  • check_submission: Time tests do not need .scn files.
Location:
merge-helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • merge-helpers/ChangeLog

    r828eab3 r69c105f  
     12011-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * check_submission: Time tests do not need .scn files.
     4
    152011-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • merge-helpers/check_submission

    r828eab3 r69c105f  
    240240  for m in ${Makefiles}
    241241  do
    242     testName=`dirname ${m}`
    243     if [ ${testName} = "." ] ; then
    244       testName=`pwd`
     242    directory=`dirname ${m}`
     243    if [ ${directory} = "." ] ; then
     244      directory=`pwd`
    245245    fi
    246     testName=`basename ${testName}`
     246    testName=`basename ${directory}`
    247247    # Does this test have a .doc file?
    248     if [ ! -r ${testName}.doc ] ; then
     248    if [ ! -r ${directory}/${testName}.doc ] ; then
    249249      echo ${testName}.doc is not present
    250250    fi
    251     # Does this test have a .scn file?
    252     if [ ! -r ${testName}.scn ] ; then
    253       echo ${testName}.scn is not present
    254     fi
     251    case ${directory} in
     252      */*tmtests*) ;;
     253      *)
     254        # Does this test have a .scn file?
     255        if [ ! -r ${directory}/${testName}.scn ] ; then
     256          echo ${testName}.scn is not present
     257        fi
     258        ;;
     259    esac
    255260  done
    256261     
Note: See TracChangeset for help on using the changeset viewer.