gustavo's retcode patch for regression ns-3.3-RC6
authorgjc@inescporto.pt
Wed, 17 Dec 2008 12:42:02 -0800
changeset 40294267fd454004
parent 4028 13c1916747f2
child 4030 2efae18e7379
gustavo's retcode patch for regression
wscript
     1.1 --- a/wscript	Wed Dec 17 12:17:17 2008 -0800
     1.2 +++ b/wscript	Wed Dec 17 12:42:02 2008 -0800
     1.3 @@ -492,9 +492,11 @@
     1.4          if not regression_traces:
     1.5              regression_traces = None
     1.6          try:
     1.7 -            regression.run_regression(regression_traces)
     1.8 +            retval = regression.run_regression(regression_traces)
     1.9          finally:
    1.10              os.chdir(_dir)
    1.11 +        if retval:
    1.12 +            sys.exit(retval)
    1.13  
    1.14      if Params.g_options.lcov_report:
    1.15          lcov_report()