[llvm-commits] [test-suite] r153651 - in /test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3: drop3.c input-file.c

Daniel Dunbar daniel at zuster.org
Thu Mar 29 08:56:56 PDT 2012


Author: ddunbar
Date: Thu Mar 29 10:56:55 2012
New Revision: 153651

URL: http://llvm.org/viewvc/llvm-project?rev=153651&view=rev
Log:
[test-suite] Stop BitBench/drop3 from creating an output file in the source directory.
 - This appears to be a remnant of what the code used to do, the output file
   wasn't actually ever written to.

Removed:
    test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/input-file.c
Modified:
    test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/drop3.c

Modified: test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/drop3.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/drop3.c?rev=153651&r1=153650&r2=153651&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/drop3.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/drop3.c Thu Mar 29 10:56:55 2012
@@ -80,11 +80,6 @@
     outfilename = malloc(strlen(argv[1]) + strlen(postfix) + 1);
     strcpy(outfilename,argv[1]);
     strcat(outfilename,postfix);
-    if ((out = fopen(outfilename, "w")) == NULL) {
-      perror(outfilename);
-      free(outfilename);
-      exit(1);
-    }
     free(outfilename);
     argv++; argc--;
   }

Removed: test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/input-file.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/BitBench/drop3/input-file.c?rev=153650&view=auto
==============================================================================
    (empty)





More information about the llvm-commits mailing list