From 2f28f3f210432bdfdd944015699367ab6edfbd0b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 22 Feb 2016 14:01:00 +0800 Subject: [PATCH] unit: make test_x86_soft_paging.c compilable. also update .gitignore for its binary --- .gitignore | 1 + tests/unit/test_x86_soft_paging.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8d291285..ae776b30 100644 --- a/.gitignore +++ b/.gitignore @@ -138,6 +138,7 @@ test_tb_x86 test_multihook test_pc_change mem_fuzz +test_x86_soft_paging ################# diff --git a/tests/unit/test_x86_soft_paging.c b/tests/unit/test_x86_soft_paging.c index b3a931fc..1b3aaeef 100644 --- a/tests/unit/test_x86_soft_paging.c +++ b/tests/unit/test_x86_soft_paging.c @@ -202,7 +202,7 @@ static void test_high_paging(void **state) { int main(void) { - const struct CMUnitTests tests[] = { + const struct CMUnitTest tests[] = { cmocka_unit_test(test_low_paging), cmocka_unit_test(test_high_paging), };