1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/fpga/tests/unit/global.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
491 B
C++
Raw Permalink Normal View History

/* Global include for tests.
2018-06-25 17:03:09 +02:00
*
* Author: Steffen Vogel <post@steffenvogel.de>
* SPDX-FileCopyrightText: 2017 Steffen Vogel <post@steffenvogel.de>
* SPDX-License-Identifier: Apache-2.0
*/
2018-06-25 17:03:09 +02:00
#pragma once
#include <cstdlib>
#include <villas/fpga/card.hpp>
class FpgaState {
public:
// List of all available FPGA cards, only first will be tested at the moment
std::list<std::shared_ptr<villas::fpga::Card>> cards;
};
2022-08-30 12:01:47 -04:00
// Global state to be shared by unittests
extern FpgaState state;