Includes library modifications to allow access to AIN_4 (AIN_0 / 5)
mbd_os/tools/test/toolchains/api.py
- Committer:
- bryantaylor
- Date:
- 2016-09-20
- Revision:
- 0:eafc3fd41f75
File content as of revision 0:eafc3fd41f75:
import sys import os ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) sys.path.insert(0, ROOT) from tools.toolchains import TOOLCHAIN_CLASSES, LEGACY_TOOLCHAIN_NAMES from tools.targets import TARGET_MAP def test_instantiation(): for name, Class in TOOLCHAIN_CLASSES.items(): CLS = Class(TARGET_MAP["K64F"]) assert name == CLS.name or name == LEGACY_TOOLCHAIN_NAMES[CLS.name]