a.sidorin added inline comments.

================
Comment at: test/Analysis/diagnostics/goto-label-determinism.cpp:2
+// RUN: %clang_analyze_cc1 -triple arm-unknown-linux-gnueabi -w 
-analyzer-checker=debug.ExprInspection %s -verify
+// RUN: for i in {1..100}; do %clang_analyze_cc1 -triple 
arm-unknown-linux-gnueabi -w -analyzer-checker=debug.ExprInspection 
-analyzer-config max-nodes=10433 %s -analyzer-output=plist-multi-file -o 
%t.${i}.plist; done ; for i in {1..100}; do FileCheck 
--input-file=%t.${i}.plist %s; done ; if [ `md5sum %t.*.plist | awk '{print 
$1}' | sort -u | wc -l` -gt 1 ] ; then exit 1 ; fi
+
----------------
This will not work on Windows. However, I don't know the common way of writing 
tests for determinism. Any ideas?


Repository:
  rL LLVM

https://reviews.llvm.org/D40073



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to