Opened 12 years ago

Last modified 9 years ago

#1135 new defect

IZ194: reject access to CHECK_ACT_LEVEL in setup_functions

Reported by: joga Owned by:
Priority: high Milestone:
Component: testsuite Version: current
Severity: Keywords: framework
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=194]

        Issue #:      194             Platform:     All           Reporter: joga (joga)
       Component:     testsuite          OS:        All
     Subcomponent:    framework       Version:      current          CC:    None defined
        Status:       RESOLVED        Priority:     P2
      Resolution:     FIXED          Issue type:    DEFECT
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
          URL:
       * Summary:     reject access to CHECK_ACT_LEVEL in setup_functions
   Status whiteboard:
      Attachments:

     Issue 194 blocks:
   Votes for issue 194:     Vote for this issue


   Opened: Mon May 5 07:58:00 -0700 2008 
------------------------


The global variable CHECK_ACT_LEVEL may not be used in setup_functions (as the
setup function is only called per test, not per level).

If CHECK_ACT_LEVEL is used in a setup or cleanup function,
testsuite framework shall raise an error.

This can for example be achieved by fetching the code of the function and
searching for CHECK_ACT_LEVEL

   ------- Additional comments from crei Wed Nov 25 01:54:02 -0700 2009 -------
This is already done. Testsuite will not startup if a test uses the global
CHECK_ACT_LEVEL in a defined check_setup_function/check_cleanup_function

Change History (0)

Note: See TracTickets for help on using tickets.