[Piglit] [Bug 87513] New: NameError: name 'dirname' is not defined

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 19 15:46:27 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87513

            Bug ID: 87513
           Summary: NameError: name 'dirname' is not defined
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: blocker
          Priority: medium
         Component: tests
          Assignee: piglit at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: piglit at lists.freedesktop.org
                CC: baker.dylan.c at gmail.com, mark.a.janes at intel.com

piglit: 688294703e580c2d9b77e814cdd3ae68d96c57a3 (master)

[ 99%] Generating cl_store_tests.list
Traceback (most recent call last):
  File "generated_tests/generate-cl-store-tests.py", line 35, in <module>
    utils.safe_makedirs(dirname)
NameError: name 'dirname' is not defined


commit 688294703e580c2d9b77e814cdd3ae68d96c57a3
Author: Dylan Baker <dylanx.c.baker at intel.com>
Date:   Wed Dec 17 15:28:59 2014 -0800

    generated_tests: Actually catch exception in os.makedirs

    Patch b59ff71eb was supposed to fix os.makedirs exceptions, but falls
    short because of a missing else statement that causes all of the caught
    exceptions to fall back to raise.

    This corrects, it also pulls the duplicate functions out into a shared
    module.

    v2: - remove accidentally included hunk (Mark)
    v3: - Actually include the modules directory in the commit (Mark)

    Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
    Reviewed-by: Mark Janes <mark.a.janes at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141219/649d45cc/attachment.html>


More information about the Piglit mailing list