Commit Graph

5 Commits

Author SHA1 Message Date
Dan Albert
45f1d99044 Fix tests for soong change.
Test: ./run_tests.py
Bug: None
Change-Id: I235225f449e3e3d0bb17c5d0c28d2acd8acfa6c9
2019-08-21 16:31:48 -07:00
Dan Albert
4d4d6a8f06 Add std::filesystem support.
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: Ie277f503b754321eba04b906fa4ee6d670b2c1b2
2019-01-10 21:26:33 -08:00
Dan Albert
35cb7a0541 Run device tests as the shell user.
A handful of the std::filesystem tests assume non-root (such as
checking readability of a file that has mode 000). We probably
shouldn't be running as root for these tests anyway.

Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Bug: None
Change-Id: Ifc661bd245c3d802d8816d1c098b0e47d011c4fa
2019-01-09 22:17:50 -08:00
Peter Collingbourne
26cd9b82f8 Update run_tests.py to use Soong.
run_tests.py had bitrotted since it was last run (e.g. it used perl
which is now not allowed and the warning flags were out of date).
I changed it to use a different way of extracting the compile command
which is based on Soong instead of makefiles. This way is also
compatible with multiple build directories since it doesn't clobber
the source directory and doesn't require OUT_DIR == out.

This also changes run_tests.py to run the libcxxabi tests as well,
since they can be run using the same mechanism.

Bug: 120510768
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Change-Id: Id30129161f8519fa6c1bc106727326373ca9ab82
2018-12-05 15:47:23 -08:00
Dan Albert
e92499f1c9 Add logging to run_tests.py and fix pylint issues.
Test: ./run_tests.py
Bug: http://b/34740564
Change-Id: I9ae1d2d386842e088db963b2b4eb611450cbe514
2017-01-27 16:40:53 -08:00