py: tests: Fix configspec marking for nand tests

Fix marking for nand tests. Create multiple markers.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek
2017-10-31 15:20:55 +01:00
parent 014bb4c448
commit 22a93fd927

View File

@@ -18,7 +18,9 @@ TODO:
- Handle multiple controller cases, as of now it assumes one.
"""
pytestmark = pytest.mark.buildconfigspec('cmd_bdi cmd_nand cmd_memory')
pytestmark = [pytest.mark.buildconfigspec("cmd_bdi"),
pytest.mark.buildconfigspec("cmd_nand"),
pytest.mark.buildconfigspec("cmd_memory")]
nand_detected = False
page_size = 0