summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-11-18 10:37:00 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-11-19 13:21:26 +0100
commitd553d5e4e85e6f05dacfdc87833db5574fc662f4 (patch)
tree97b08bdfdb4f74718cf782bf68e22aec1eea1af8 /bin
parent84445f1f3de7ed4bdb73b8f4fce879208d82252f (diff)
downloaddtf-d553d5e4e85e6f05dacfdc87833db5574fc662f4.tar.gz
dtf-d553d5e4e85e6f05dacfdc87833db5574fc662f4.tar.xz
dtf-d553d5e4e85e6f05dacfdc87833db5574fc662f4.zip
lib: add 'tests' file
This is useful for particular test-cases. Also, this is generated for target system/architecture. * bin/dtf-gen: Include expanded 'tests' template into 'library'. * share/dtf/lib/tests: New library file.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtf-gen2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/dtf-gen b/bin/dtf-gen
index 84f7312..7307520 100755
--- a/bin/dtf-gen
+++ b/bin/dtf-gen
@@ -121,6 +121,8 @@ test -d "$outputdir" && {
mkdir -p "$outputdir"
cat "$dtflibdir/default" > "$outputdir/library"
+dg_call --template "$dtflibdir/tests" >> "$outputdir/library"
+
count_recursive_walk "$toporigdir" . .
# Protect sources!