siso: fold the member-order flush test into the stale-non-dir table

TestFlush_MemberListedBeforeDirTarget repeated about 60 lines of
TestFlush_PopulatedDirReplacesStaleNonDir. The only real difference
was the order of the paths in the flush list. Make that order a table
dimension (dirTarget/membersFirst, crossed with file/symlink), so the
scenario becomes one table row instead of a second test body that
would drift out of sync over time.

Also use the got/want pattern for the value comparison in
TestOpenReadDeepPath.

Change-Id: I23571c1c486c156f1611db38b7497c483d43205b
Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8037823
Reviewed-by: Yuke Liao <liaoyuke@google.com>
Auto-Submit: Philipp Wollermann <philwo@google.com>
Commit-Queue: Neri Marschik <nerima@google.com>
2 files changed
tree: 78a3d814139f1939f53a10916a8bd39be89517b6
  1. bench/
  2. gong/
  3. hashigo/
  4. infra/
  5. kajiya/
  6. kzipinfo/
  7. remote-apis/
  8. runmc/
  9. siso/
  10. .gitignore
  11. .golangci.yml
  12. .style.yapf
  13. BUILD_OWNERS
  14. BUILD_TEAM_OWNERS
  15. CONTRIBUTING.md
  16. LICENSE
  17. OWNERS
  18. PRESUBMIT.py
  19. README.md
  20. WATCHLISTS
README.md

build.git repository

This repository contains tools developed and owned by the Chrome Build Team.

Quick start

The steps for getting the code are:

  1. Install depot_tools
  2. Run git clone https://chromium.googlesource.com/build

We use the standard Go module workflow to work on our projects.

Links