Changeset 28582b2 for tests/test.py


Ignore:
Timestamp:
Aug 6, 2018, 2:05:02 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
ff593a3
Parents:
37fe352
Message:

Better handling of missing configurations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    r37fe352 r28582b2  
    8585        # create a parser with the arguments for the tests script
    8686        parser = argparse.ArgumentParser(description='Script which runs cforall tests')
    87         parser.add_argument('--debug', help='Run all tests in debug or release', type=yes_no, default='no')
     87        parser.add_argument('--debug', help='Run all tests in debug or release', type=yes_no, default='yes')
    8888        parser.add_argument('--arch', help='Test for specific architecture', type=str, default='')
    8989        parser.add_argument('--dry-run', help='Don\'t run the tests, only output the commands', action='store_true')
     
    285285
    286286        else :
     287                # check the build configuration works
     288                settings.validate()
     289
    287290                options.jobs, forceJobs = jobCount( options, tests )
    288291                settings.updateMakeCmd(forceJobs, options.jobs)
Note: See TracChangeset for help on using the changeset viewer.