Mercurial > hg > CbC > CbC_llvm
view test/Object/ar-create.test @ 52:c22698ecb2a9
modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Jan 2014 21:01:33 +0900 |
parents | 95c75e76d11b |
children | c2174574ed3a |
line wrap: on
line source
Test which operations create an archive and which don't. RUN: touch %t RUN: rm -f %t.foo.a RUN: not llvm-ar p %t.foo.a %t 2>&1 | FileCheck %s RUN: not llvm-ar d %t.foo.a %t 2>&1 | FileCheck %s RUN: not llvm-ar m %t.foo.a %t 2>&1 | FileCheck %s RUN: not llvm-ar t %t.foo.a %t 2>&1 | FileCheck %s RUN: not llvm-ar x %t.foo.a %t 2>&1 | FileCheck %s RUN: llvm-ar q %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s RUN: rm -f %t.foo.a RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s RUN: rm -f %t.foo.a CHECK: llvm-ar{{(.exe|.EXE)?}}: error loading '{{[^']+}}.foo.a': CREATE: creating {{.*}}.foo.a