Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 795522 | Differences between
and this patch

Collapse All | Expand All

(-)a/wscript (-10 / +5 lines)
Lines 1107-1122 def build(ctx): Link Here
1107
            if verbose > 0:
1107
            if verbose > 0:
1108
                ctx.add_post_fun(test_print_log)
1108
                ctx.add_post_fun(test_print_log)
1109
1109
1110
        # Test binaries
1110
            ctx.add_post_fun(bin_test)
1111
        ctx.add_post_fun(bin_test)
1111
            ctx.add_post_fun(test_write_log)
1112
1112
            ctx.add_post_fun(waf_unit_test.summary)
1113
        # Write test log to a file
1113
            ctx.add_post_fun(waf_unit_test.set_exit_code)
1114
        ctx.add_post_fun(test_write_log)
1114
            ctx.add_post_fun(bin_test_summary)
1115
1116
        # Print a summary at the end
1117
        ctx.add_post_fun(waf_unit_test.summary)
1118
        ctx.add_post_fun(waf_unit_test.set_exit_code)
1119
        ctx.add_post_fun(bin_test_summary)
1120
    else:
1115
    else:
1121
        pprint("YELLOW", "Unit test runner skipped on a cross-compiled build.")
1116
        pprint("YELLOW", "Unit test runner skipped on a cross-compiled build.")
1122
        from waflib import Options
1117
        from waflib import Options

Return to bug 795522