Module Name: src
Committed By: maya
Date: Mon Sep 3 21:54:57 UTC 2018
Modified Files:
src/tests/usr.bin/cc: t_hello.sh
Log Message:
amend test case to also check for -fprofile-generate
(clang also supports this flag)
PR toolchain/53567
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/cc/t_hello.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/cc/t_hello.sh
diff -u src/tests/usr.bin/cc/t_hello.sh:1.6 src/tests/usr.bin/cc/t_hello.sh:1.7
--- src/tests/usr.bin/cc/t_hello.sh:1.6 Wed May 31 11:08:35 2017
+++ src/tests/usr.bin/cc/t_hello.sh Mon Sep 3 21:54:57 2018
@@ -1,4 +1,4 @@
-# $NetBSD: t_hello.sh,v 1.6 2017/05/31 11:08:35 martin Exp $
+# $NetBSD: t_hello.sh,v 1.7 2018/09/03 21:54:57 maya Exp $
#
# Copyright (c) 2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -73,6 +73,8 @@ int main(void) {printf("hello world\n");
EOF
atf_check -s exit:0 -o ignore -e ignore cc -o hello -pg test.c
atf_check -s exit:0 -o inline:"hello world\n" ./hello
+ atf_check -s exit:0 -o ignore -e ignore cc -o hello2 -fprofile-generate test.c
+ atf_check -s exit:0 -o inline:"hello world\n" ./hello2
}
hello_pic_body() {