1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +01:00
RIOT/sys/include/test_utils/interactive_sync.h
Marian Buschsieweke cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00

43 lines
900 B
C

/*
* Copyright (C) 2019 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.
*/
#pragma once
/**
* @defgroup test_utils_interactive_sync Test interactive synchronization
* @ingroup sys
* @brief Utility function for synchronizing before a test
*
* @{
* @file
* @brief Synchronization for normally non interactive tests
*
* @author Gaëtan Harter <gaetan.harter@fu-berlin.de>
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Wait for the tester to start test
*
* @details Wait for a 's' character to return
*
*/
#ifdef MODULE_TEST_UTILS_INTERACTIVE_SYNC
void test_utils_interactive_sync(void);
#else
static inline void test_utils_interactive_sync(void) {}
#endif
#ifdef __cplusplus
}
#endif
/** @} */