Project

General

Profile

« Previous | Next » 

Revision 110

test/map: Added echoing of commands run

View differences:

map
20 20
    # Test exporting to XML
21 21
    for fmt in VegX VegBank; do
22 22
        out="$stem.$fmt.xml"
23
        head -"$n" "$in"|../map "../../mappings/$src-$fmt.$type.csv" \
24
        >"output/$out" && diff "accepted_output/$out" "output/$out"
23
        (set -x; head -"$n" "$in"|../map "../../mappings/$src-$fmt.$type.csv" \
24
        >"output/$out" && diff "accepted_output/$out" "output/$out")
25 25
    done
26 26
    
27 27
    # Test exporting to VegBank db
28
    head -"$n" "$in"|../map2vegbank "../../mappings/$src-VegBank.$type.csv"
28
    (set -x; head -"$n" "$in"|../map2vegbank \
29
    "../../mappings/$src-VegBank.$type.csv")
29 30
done

Also available in: Unified diff