From f2a9888ac28a4ec42b89f02048762a2eea26f067 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gy=C3=B6rgy=20Straub?= Date: Thu, 16 Jan 2020 11:21:22 +0000 Subject: [PATCH 1/1] Updated automated-tests' README.md with more specific instructions / caveats. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ia1f6863a516cbb4e8325fd1bb61af60b1bfd629e Signed-off-by: György Straub --- automated-tests/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automated-tests/README.md b/automated-tests/README.md index e719dda..c062b8a 100644 --- a/automated-tests/README.md +++ b/automated-tests/README.md @@ -69,6 +69,8 @@ Building dali toolkit: Note, you __must__ use a local build and not a distributed build, and you __must__ also build with debug enabled to allow *DALI_ASSERT_DEBUG* to trigger on wrong behaviour ( Which should always be a test case failure! ) +Further note that, for the following, your gcov version must match the version of the compiler. + Building the tests ------------------ @@ -192,7 +194,7 @@ If you are adding test cases to existing files, then all you need to do is creat END_TEST; } -Note that **there must be no extra whitespace in the method signature** (i.e., it must violate our coding convention and follow __exactly__ this pattern: `int UtcDaliMyTestcaseName(void)`), as it's parsed by an awk script to auto-generate the testcase arrays in the main header file. +Note that **the parentheses in the method signature must not be empty** (i.e., it must violate our coding convention and follow __exactly__ this pattern: `int UtcDaliMyTestcaseName(void)`), as it's parsed by an awk script to auto-generate the testcase arrays in the main header file. Neither may any comments on the same line contain empty parentheses. You can contine to use the TET api, e.g. `tet_infoline`, `tet_result` and our test check methods `DALI_TEST_CHECK`, `DALI_TEST_EQUALS`, etc. -- 2.7.4