Ignore:
Timestamp:
Jul 26, 2018, 5:20:14 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
0300979, 303c61d, 4e1572f, c198b69
Parents:
91788fa
Message:

Fixed handling of paths when regenerating tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/pybin/tools.py

    r91788fa ra95c117  
    5757        except TypeError:
    5858                sh("rm -f %s > /dev/null 2>&1" % files )
     59
     60# Create 1 or more directory
     61def mkdir( files ):
     62        try:
     63                for file in files:
     64                        sh("mkdir -p %s" % os.path.dirname(file) )
     65        except TypeError:
     66                sh("mkdir -p %s" % os.path.dirname(files) )
    5967
    6068def chdir( dest = __main__.__file__ ):
Note: See TracChangeset for help on using the changeset viewer.