/check/src/check_run.c:507: undefined reference to `timer_create'
/home/edavnys/check/src/check_run.c:515: undefined reference to `timer_settime'
/home/edavnys/check/src/check_run.c:529: undefined reference to `timer_delete'
collect2: error: ld returned 1 exit status
Signed-off-by:
Signed-off-by: Jiwei Sun
---
tests/data/reference.xml | 3 ++-
tests/utils.c| 4 ++--
utils.c | 49 +---
utils.h | 2 +-
4 files changed, 39 insertions(+), 19 deletions(-)
diff --git a/tests/data
* Introduce a maximum number of concurrent ptests, since
we are dealing with embedded targets.
* Add stdout || stderr output from ptests into XML.
For testcases running in parallel, cluttering stdout won't
help anyone.
Signed-off-by: Jiwei Sun
---
main.c | 2 +
tests
Signed-off-by: Jiwei Sun
---
utils.c | 39 +++
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/utils.c b/utils.c
index 0e97ac4..54ef89d 100644
--- a/utils.c
+++ b/utils.c
@@ -349,7 +349,7 @@ wait_child(const char *ptest_dir
Kinda only makes sense with JUnit test output.
Signed-off-by: Jiwei Sun
---
ptest_list.c | 16 +--
ptest_list.h | 14 ++-
tests/data/glibc/ptest/run-pptest| 3 +
tests/data/parallel/ptest/run-pptest | 3 +
tests/ptest_list.c
Signed-off-by: Jiwei Sun
---
main.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
index 505829c..d524200 100644
--- a/main.c
+++ b/main.c
@@ -41,10 +41,16 @@
static inline void
print_usage(FILE *stream, char *progname)
{
- fprintf
), ptests_num);
^
tests/ptest_list.c:85:2: error: unknown type name ‘intmax_t’
ck_assert_int_eq(ptest_list_length(head), ptests_num);
Signed-off-by: Jiwei Sun
---
tests/ptest_list.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/ptest_list.c b/tests/ptest_list.c
index 5c0036d..2641620
Signed-off-by: Jiwei Sun
---
utils.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/utils.c b/utils.c
index 6d65388..a07faec 100644
--- a/utils.c
+++ b/utils.c
@@ -300,9 +300,19 @@ wait_child(const char *ptest_dir, const char *run_ptest,
pid_t pid