Skip to content
Snippets Groups Projects
Unverified Commit e9903919 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

tests/periph_dma: add automatic testing of DMA over UART

parent fc1badde
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,12 @@ ...@@ -21,7 +21,12 @@
int main(void) int main(void)
{ {
puts("DMA dummy test app"); /*
This test is checking that DMA on UART is not broken when stdio UART is
configured with DMA.
Note that this message is also printed on 'normal' stdio UART (without DMA).
*/
puts("DMA is working");
return 0; return 0;
} }
#!/usr/bin/env python3
# Copyright (C) 2019 Inria
#
# 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.
import sys
from testrunner import run
def testfunc(child):
child.expect_exact('DMA is working')
if __name__ == "__main__":
sys.exit(run(testfunc))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment