~chromium-team/chromium-browser/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Chad Miller
  • Date: 2013-07-29 15:43:40 UTC
  • Revision ID: chad.miller@canonical.com-20130729154340-p2540tsdqba7bada
* debian/rules:
  - Keepalive in tests rule, to keep builder machines from reaping.
  - Further exclude a few tests that interact with fakeroot,
    ReadOnlyFileUtilTest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
442
442
        # disabled: SecurityTest exhausts memory to fail
443
443
        # disabled: PowerMonitorTest doesn't mock power enough, I think
444
444
        # disabled: FileUtilTest fails because of fakeroot interaction
445
 
        cd $(SRC_DIR); ./out/$(BUILD_TYPE)/base_unittests --gtest_filter=-SecurityTest.NewOverflow:PowerMonitorTest.\*:FileUtilTest.ChangeFilePermissionsAndRead:FileUtilTest.ChangeFilePermissionsAndWrite:FileUtilTest.ChangeDirectoryPermissionsAndEnumerate |tee $(TEMPFILE) |cat -n
 
445
        # disabled: ReadOnlyFileUtilTest.ContentsEqual fakeroot
 
446
        # disabled: ReadOnlyFileUtilTest.TextContentsEqual fakeroot
 
447
        $(KEEPALIVE) start &
 
448
        cd $(SRC_DIR); ./out/$(BUILD_TYPE)/base_unittests --gtest_filter=-SecurityTest.NewOverflow:PowerMonitorTest.\*:FileUtilTest.ChangeFilePermissionsAndRead:FileUtilTest.ChangeFilePermissionsAndWrite:FileUtilTest.ChangeDirectoryPermissionsAndEnumerate:ReadOnlyFileUtilTest.ContentsEqual:ReadOnlyFileUtilTest.TextContentsEqual: |tee $(TEMPFILE) |cat -n; $(KEEPALIVE) stop
446
449
        @echo If more than 15 tests fail, then we interpret that as too poor quality to continue.
447
450
        sed -e 1,/FAILED.\*tests,\ listed\ below/d $(TEMPFILE) |grep -c \\\[\ \ FAILED\ \ \\\] |xargs test 15 -gt
448
451
        @echo Unit tests are good enough.