Lines Matching refs:result
168 result = run_tests(
177 self.assertIn('Running 2 base tests', result.stdout, result)
178 self.assertIn('Done running sweet/bananas: pass', result.stdout, result)
182 self.assertEqual(0, result.returncode, result)
187 result = run_tests(
199 self.assertIn('Running 1 base tests', result.stdout, result)
200 self.assertIn('2 tests ran', result.stdout, result)
202 self.assertIn('Done running sweet/bananas', result.stdout, result)
204 self.assertIn('Done running sweet/raspberries', result.stdout, result)
205 self.assertEqual(0, result.returncode, result)
212 result = run_tests(
223 self.assertIn('Running 2 tests', result.stdout, result)
224 self.assertIn('Done running sweet/bananas', result.stdout, result)
225 self.assertIn('Done running sweet/raspberries', result.stdout, result)
226 self.assertEqual(0, result.returncode, result)
234 result = run_tests(
243 self.assertIn('Running 2 tests', result.stdout, result)
245 self.assertIn('Running 1 base tests', result.stdout, result)
246 self.assertIn('2 tests ran', result.stdout, result)
247 self.assertIn('Done running sweet/strawberries: FAIL', result.stdout, result)
248 self.assertEqual(1, result.returncode, result)
282 result = run_tests(
294 self.assertIn('Running 1 tests', result.stdout, result)
296 self.assertIn('Running 1 base tests', result.stdout, result)
297 self.assertIn('1 tests ran', result.stdout, result)
298 self.assertIn('Done running sweet/strawberries: FAIL', result.stdout, result)
301 self.assertIn('3 tests failed', result.stdout, result)
305 self.assertIn('1 tests failed', result.stdout, result)
306 self.assertEqual(0, result.returncode, result)
322 result = run_tests(
334 self.assertIn('Running 1 tests', result.stdout, result)
336 'Done running sweet/bananaflakes: FAIL', result.stdout, result)
337 self.assertIn('1 tests failed', result.stdout, result)
339 self.assertIn('Running 1 base tests', result.stdout, result)
341 'Done running sweet/bananaflakes: pass', result.stdout, result)
342 self.assertIn('All tests succeeded', result.stdout, result)
343 self.assertEqual(0, result.returncode, result)
359 result = run_tests(
377 self.assertIn(expect_text, result.stdout, result)
378 self.assertEqual(0, result.returncode, result)
388 result = run_tests(
397 self.assertIn('Running 0 tests', result.stdout, result)
399 self.assertIn('Running 1 base tests', result.stdout, result)
400 self.assertIn('0 tests ran', result.stdout, result)
401 self.assertEqual(2, result.returncode, result)
411 result = run_tests(
417 self.assertIn('Warning: no tests were run!', result.stdout, result)
419 self.assertIn('Running 0 base tests', result.stdout, result)
420 self.assertIn('0 tests ran', result.stdout, result)
421 self.assertEqual(2, result.returncode, result)
426 result = run_tests(basedir)
427 self.assertIn('Failed to load build config', result.stdout, result)
428 self.assertEqual(5, result.returncode, result)
441 result = run_tests(basedir, '--mode=Release')
443 'with build config (debug)', result.stdout, result)
444 self.assertEqual(5, result.returncode, result)
449 result = run_tests(basedir, '--mode=Release', '--arch=ia32')
452 result.stdout, result)
453 self.assertEqual(5, result.returncode, result)
458 result = run_tests(basedir, '--mode=Release', '--variants=meh')
459 self.assertEqual(5, result.returncode, result)
464 result = run_tests(basedir, '--outdir=out/Release', 'sweet/bananas')
465 self.assertIn('Running tests for x64.release', result.stdout, result)
466 self.assertEqual(0, result.returncode, result)
475 result = run_tests(
484 result.stdout, result)
485 self.assertEqual(1, result.returncode, result)
491 result = run_tests(
498 self.assertIn( 'Unused rule: carrots', result.stdout, result)
499 self.assertIn( 'Unused rule: regress/', result.stdout, result)
500 self.assertEqual(1, result.returncode, result)
506 result = run_tests(
513 self.assertIn('begin source: sweet/bananas', result.stdout, result)
514 self.assertIn('(no source available)', result.stdout, result)
515 self.assertEqual(0, result.returncode, result)
528 result = run_tests(
537 self.assertIn('Running 1 tests', result.stdout, result)
539 self.assertIn('Running 1 base tests', result.stdout, result)
540 self.assertIn('1 tests ran', result.stdout, result)
541 self.assertIn('Done running sweet/bananas: FAIL', result.stdout, result)
542 self.assertIn('Test had no allocation output', result.stdout, result)
543 self.assertIn('--predictable --verify_predictable', result.stdout, result)
544 self.assertEqual(1, result.returncode, result)
550 result = run_tests(
559 self.assertEqual(0, result.returncode, result)
567 result = run_tests(
577 self.assertIn('Running 1 base tests', result.stdout, result)
578 self.assertIn('2 tests ran', result.stdout, result)
580 self.assertIn('Running 2 tests', result.stdout, result)
581 self.assertEqual(0, result.returncode, result)
586 result = run_tests(
595 self.assertIn('Running 1 base tests', result.stdout, result)
596 self.assertIn('2 tests ran', result.stdout, result)
599 self.assertIn('--random-seed=123', result.stdout, result)
600 self.assertEqual(1, result.returncode, result)
611 result = run_tests(
621 self.assertIn('Running 2 base tests', result.stdout, result)
622 self.assertIn('2 tests ran', result.stdout, result)
623 self.assertEqual(0, result.returncode, result)
637 result = run_tests(
647 self.assertIn('Running 2 tests', result.stdout, result)
649 self.assertIn('Running 2 base tests', result.stdout, result)
650 self.assertIn('2 tests ran', result.stdout, result)
651 self.assertIn('F.', result.stdout, result)
652 self.assertEqual(1, result.returncode, result)
668 result = run_tests(
682 self.assertIn(expected, result.stdout)
683 self.assertIn('sweet/cherries', result.stdout)
684 self.assertIn('sweet/bananas', result.stdout)
685 self.assertEqual(1, result.returncode, result)