Fix manager to run tests if KERNEL_TESTING is set
authorXiao Jia <stfairy@gmail.com>
Wed, 28 Oct 2015 00:36:40 +0000 (17:36 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Nov 2015 17:00:38 +0000 (12:00 -0500)
commit18a2bde8b828a72daff2bbf4ce61282a894f70e8
treef6739e62313e25d59b59c6acb5d951a268be99da
parentb712262007f6f7a5d8f07443333caaf8f12c96da
Fix manager to run tests if KERNEL_TESTING is set

KERNEL_POSTBOOT_TESTING is not defined, and if USERSPACE_TESTING is
disabled, we won't run any unit tests, which is not right.

Fix it by letting the tests run whenever KERNEL_TESTING is present.

Signed-off-by: Xiao Jia <stfairy@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/manager.c