test: Add write_flash

Change-Id: I887d79db9f1fd5e63c16a717a88cd76a1f800986
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/Makefile.am b/Makefile.am
index 7212558..2f1d5fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,11 @@
 
 test_erase_flash_SOURCES = test/erase_flash.c mboxd_flash.c common.c test/tmpf.c
 
+test_write_flash_SOURCES = test/write_flash.c mboxd_flash.c common.c test/tmpf.c
+
 check_PROGRAMS = test/sanity \
 		test/copy_flash \
-		test/erase_flash
+		test/erase_flash \
+		test/write_flash
 
 TESTS = $(check_PROGRAMS)