瀏覽代碼

Travis does not have filterdiff, not ready to add context test case yet (#15)

Matthew Wang 11 年之前
父節點
當前提交
183fa49118
共有 2 個檔案被更改,包括 1 行新增0 行删除
  1. 0
    0
      tests/context/in.diff.orig
  2. 1
    0
      tests/regression.sh

tests/context/in.diff → tests/context/in.diff.orig 查看文件


+ 1
- 0
tests/regression.sh 查看文件

@@ -52,6 +52,7 @@ function main()
52 52
 
53 53
     for d in tests/*/; do
54 54
         d=${d%/}
55
+        [[ -f $d/in.diff ]] || continue
55 56
         cmp_output $d/in.diff $d/out.normal "-c always" || ((e++))
56 57
         cmp_output $d/in.diff $d/out.side-by-side "-c always -s" || ((e++))
57 58
         cmp_output $d/in.diff $d/out.w70 "-c always -s -w70" || ((e++))