Changes in directory llvm/test/Scripts:
ignore added (r1.1) --- Log message: Add a script to run a command but ignore its return code. This script always returns 0. This is useful with the llvm.exp based dejagnu testing when a test wants to check the error output of tool invocation that returns non-zero. Since every command is checked with llvm.exp, there needs to be a way to prevent that checking and this script is it. --- Diffs of the changes: (+10 -0) ignore | 10 ++++++++++ 1 files changed, 10 insertions(+) Index: llvm/test/Scripts/ignore diff -c /dev/null llvm/test/Scripts/ignore:1.1 *** /dev/null Sat Apr 14 11:14:18 2007 --- llvm/test/Scripts/ignore Sat Apr 14 11:14:08 2007 *************** *** 0 **** --- 1,10 ---- + #!/bin/sh + # + # Program: ignore + # + # Synopsis: Ignore the result code of the command and always return 0 + # + # Syntax: ignore command <arguments> + + "$@" || exit 0 && exit 0 + exit 0 _______________________________________________ llvm-commits mailing list [EMAIL PROTECTED] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits