test: Add erase_flash

Change-Id: Idbe0e8a9d7c62eeb5ac90fce055fc87de80ab1fa
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/Makefile.am b/Makefile.am
index f1491d5..7212558 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,10 @@
 
 test_copy_flash_SOURCES = test/copy_flash.c mboxd_flash.c common.c mtd.c test/tmpf.c
 
+test_erase_flash_SOURCES = test/erase_flash.c mboxd_flash.c common.c test/tmpf.c
+
 check_PROGRAMS = test/sanity \
-		test/copy_flash
+		test/copy_flash \
+		test/erase_flash
 
 TESTS = $(check_PROGRAMS)