From f621d52fb1d58efa061e18d1e356c2cd7c4fa8ea Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Fri, 2 Nov 2018 14:48:35 +0000 Subject: Replaced --no-externals and --allow-external-sym-calls with --external-calls, updated tests accordingly, and improved documentation on external calls --- test/CXX/ArrayNew.cpp | 2 +- test/CXX/New.cpp | 2 +- test/CXX/SimpleVirtual.cpp | 2 +- test/Feature/LowerSwitch.c | 4 ++-- test/Runtime/POSIX/MixedConcreteSymbolic.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/CXX/ArrayNew.cpp b/test/CXX/ArrayNew.cpp index baad95fe..35a4f134 100644 --- a/test/CXX/ArrayNew.cpp +++ b/test/CXX/ArrayNew.cpp @@ -1,6 +1,6 @@ // RUN: %llvmgxx %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --no-externals %t1.bc +// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --external-calls=none %t1.bc #include diff --git a/test/CXX/New.cpp b/test/CXX/New.cpp index 71784f9f..921316a7 100644 --- a/test/CXX/New.cpp +++ b/test/CXX/New.cpp @@ -1,6 +1,6 @@ // RUN: %llvmgxx %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --no-externals %t1.bc +// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --external-calls=none %t1.bc #include diff --git a/test/CXX/SimpleVirtual.cpp b/test/CXX/SimpleVirtual.cpp index 7d0faa08..372b44de 100644 --- a/test/CXX/SimpleVirtual.cpp +++ b/test/CXX/SimpleVirtual.cpp @@ -1,6 +1,6 @@ // RUN: %llvmgxx %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --no-externals %t1.bc +// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --external-calls=none %t1.bc #include diff --git a/test/Feature/LowerSwitch.c b/test/Feature/LowerSwitch.c index 1b280e72..faa82365 100644 --- a/test/Feature/LowerSwitch.c +++ b/test/Feature/LowerSwitch.c @@ -1,10 +1,10 @@ // RUN: %llvmgcc %s -emit-llvm -g -c -o %t.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --exit-on-error --allow-external-sym-calls --switch-type=internal %t.bc +// RUN: %klee --output-dir=%t.klee-out --exit-on-error --external-calls=all --switch-type=internal %t.bc // RUN: not test -f %t.klee-out/test000010.ktest // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --exit-on-error --allow-external-sym-calls --switch-type=simple %t.bc +// RUN: %klee --output-dir=%t.klee-out --exit-on-error --switch-type=simple %t.bc // RUN: test -f %t.klee-out/test000010.ktest #include diff --git a/test/Runtime/POSIX/MixedConcreteSymbolic.c b/test/Runtime/POSIX/MixedConcreteSymbolic.c index c32a8f54..71abb116 100644 --- a/test/Runtime/POSIX/MixedConcreteSymbolic.c +++ b/test/Runtime/POSIX/MixedConcreteSymbolic.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out -allow-external-sym-calls --exit-on-error --libc=uclibc --posix-runtime %t.bc --sym-stdin 10 2>%t.log | FileCheck %s +// RUN: %klee --output-dir=%t.klee-out --external-calls=all --exit-on-error --libc=uclibc --posix-runtime %t.bc --sym-stdin 10 2>%t.log | FileCheck %s #include "klee/klee.h" #include -- cgit 1.4.1