Ignore:
Timestamp:
Oct 16, 2014, 10:57:44 AM (10 years ago)
Author:
cfuguet
Message:

reconf: introducing a batchmode in the onerun.py script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py

    r844 r847  
    1313
    1414parser.add_argument(
    15     type=str, dest='path',
     15    '--path', '-p', type=str, dest='path', default=os.getcwd(),
    1616    help='relative or absolute path to the platform')
    1717
     
    3737
    3838parser.add_argument(
    39     '--quiet', '-q', dest='quiet', action='store_true',
    40     help='be quiet!!!')
     39    '--batch-mode', '-b', dest='batchmode', action='store_true',
     40    help='run simulation in batch mode: no interactive TTY or FrameBuffer')
    4141
    4242args = parser.parse_args()
     
    100100# 5. execute simulator
    101101os.environ["DISTRIBUTED_BOOT"] = "1"
    102 if args.quiet:
     102if args.batchmode:
    103103    os.environ["SOCLIB_FB"] = "HEADLESS"
    104104    os.environ["SOCLIB_TTY"] = "FILES"
Note: See TracChangeset for help on using the changeset viewer.