]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Completed test for sources-list
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 19 Sep 2008 07:17:00 +0000 (07:17 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 19 Sep 2008 07:17:00 +0000 (07:17 +0000)
darcs-hash:20080919071722-f2ef6-8b214d07326b27f6bc942fef13c3d42bf7c3023b.gz

tests/sources_list/runtest
tests/sources_list/sources.list.correct [new file with mode: 0644]

index a0b17b538dfdf68e1c7847fbbaceb3b6485c4d2d..0ec22346825eaa4fbf4511212f3945d84f5718cc 100755 (executable)
@@ -3,4 +3,5 @@
 
 touch config.omk-default
 make sources-list
+diff -u sources.list.correct sources.txt || error "Generated sources-list differs from the correct one"
 
diff --git a/tests/sources_list/sources.list.correct b/tests/sources_list/sources.list.correct
new file mode 100644 (file)
index 0000000..3393754
--- /dev/null
@@ -0,0 +1,7 @@
+# Automatically generated list of files in '' that are used during OMK compilation
+a.h
+b.h
+c.c
+dir/d.h
+dir/e.h
+dir/f.c