History log of /fuchsia/zircon/system/utest/runtests-utils/rules.mk
Revision Date Author Comments
# dbab23a1 14-Aug-2018 Adam Barth <abarth@google.com>

[runtests-utils] List files only once

Listing this file twice was generating a warning in the build.

Test: Compiles
Change-Id: I0e6f02c3b961268e2126bd5231cbfdffddaf6d75


# 9f37c404 11-Jul-2018 Petr Hosek <phosek@google.com>

[runtests] Support publishing data through sinks

This enables persisting data published through sanitizer data sink and
publishing them through summary.json file. The loader service is only
changed when the output directory is set and the output directory is
used as the data sink path.

TC-27

Test: runtests-utils
Change-Id: Id76037451a79bf247d8f07046b1f7d8f6ee0c773


# 94da35d7 07-Aug-2018 Ankur Mittal <anmittal@google.com>

[runtests] Run tests as components if possible

Changed runtest to first search for cmx file for a test binary, if
found, it will use run_ctest from garnet to execute it as a component.

CP-115 #done

TEST=normal manual testing

Change-Id: Ic006d9fbb6e7047156de3dc57334f82ea104104d


# 8a50233e 03-Jul-2018 Adam Barth <abarth@google.com>

[fidl] Rename FIDL directories

These names more closely match what we publish in the SDK. Ideally, we'd
use . as the separator, but Zircon's build system cannot handle . in
directory names, so we use - instead.

Test: Builds.
Change-Id: Ia420a364d2accac39faebade8f3f8ed72088556a


# 59a13a9e 07-Jun-2018 Joshua Seaton <joshuaseaton@google.com>

[runtests] Define PosixRunTest() for running host tests.

Note: runtests-utils-test passes as a host test.

BUG: IN-358
Change-Id: I9f0380b4d3c38c6fea5950638e5eb0cfaa1ab3d3


# 2bc0d8c7 25-May-2018 Sean Klein <smklein@google.com>

[memfs] Split memfs into C / C++ libraries

For clients which utilize memfs to create
temporary filesystems, export a C ABI shared
library.

Internally, this C library uses a C++ library,
which is exported as source.

Change-Id: I73b95a2a2b8c4870d1b07f5f2f2525f4b0cd4e9f


# b4404bdb 18-May-2018 Ankur Mittal <anmittal@google.com>

[runtests] Add support for reading syslogs.

IN-320 #progress

Change-Id: Icac7a0d5d8d877d444f064f0f8b5a48f12563fdc


# e2b0adf1 15-May-2018 Gary Miguel <garymm@google.com>

[runtests] Move most code into runtests-utils and test it.

Use C++ features (rather than pure C) where possible to make
code cleaner.

Change in testing tactics:
Previously the test used its own path as the executable to be used for
testing. Switched to writing shell scripts to MemFS.
This is more flexible; it allows putting binaries in arbitrary
directories.
I think it's also more readable.

Bug: IN-223 #done
Change-Id: I66b31bf129e77be704361275a37cbdd8df9db672


# a7648ae2 08-May-2018 Gary Miguel <garymm@google.com>

[runtests] More C to C++.

Main changes:
* CamelCase instead of snake_case names, in accordance with our C++
style guide.
* Use fbl::Vector instead of list_node.
* Use fbl::MakeAutoCall and objects that clean themselves up on
destruction instead of "goto fail".
* Potential bug fix: check if get_info() return val != ZX_OK, rather
than previously checking if it was negative.
* Behavior improvement: insert a TestRun into the tests vector for all
failure modes. Previously we would only do this if we got to
launchpad_go(). There's no reason for the result to not be saved if
the failure comes earlier than that.

Bug: IN-223
Change-Id: Ib6cce2682c1ed5b2d15c13d5c193558eae2f8e88


# 299b9d4f 07-May-2018 Gary Miguel <garymm@google.com>

[runtests] Move some of runtests into a library.

Add unit tests for the library.
Unit tests are not exhaustive because AFAIK there's no existing
way to control the behavior of launchpad in unit tests.

Changes to the actual code are minimal because:
* I want to have the tests in place before making any more changes
* To keep this change conceptually focused on just a few things
(moving code + adding testing).

Future changes will make the code take advantage of more C++ features.

Bug: IN-223
Change-Id: I29a8c43e8b96db56b07f84e8f5a00cb6bd232690