/* * Copyright (C) 2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test the EXTERNAL_MODULE_DIRS feature * * @author Gaëtan Harter * * @} */ #include #include "external_module.h" #ifdef MODULE_PRNG_TINYMT32 #error "Error: it included the default dependency" #endif #ifndef MODULE_PRNG_XORSHIFT #error "Dependency not included" #endif int main(void) { printf("Message: %s\n", external_module_message); if (!external_module_initialized) { puts("External module has not been initialized."); return 1; } puts("Initialization worked!"); return 0; }