summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-10-05 16:54:57 +0000
committerotto <otto@openbsd.org>2007-10-05 16:54:57 +0000
commit4867bc20465ae7461280937a8487b40662b79532 (patch)
tree358a091d8f6238903b36c4070531781192ada01e
parentmore regress scaffolding (diff)
downloadwireguard-openbsd-4867bc20465ae7461280937a8487b40662b79532.tar.xz
wireguard-openbsd-4867bc20465ae7461280937a8487b40662b79532.zip
work in obj dir
-rw-r--r--regress/usr.bin/pcc/cc/cpp/Makefile7
-rw-r--r--regress/usr.bin/pcc/cc/cpp/skip001.out8
2 files changed, 9 insertions, 6 deletions
diff --git a/regress/usr.bin/pcc/cc/cpp/Makefile b/regress/usr.bin/pcc/cc/cpp/Makefile
index d7d3955be63..f955033a957 100644
--- a/regress/usr.bin/pcc/cc/cpp/Makefile
+++ b/regress/usr.bin/pcc/cc/cpp/Makefile
@@ -1,6 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2007/10/05 16:45:22 otto Exp $
+# $OpenBSD: Makefile,v 1.3 2007/10/05 16:54:57 otto Exp $
CC=/usr/local/bin/cc
regress:
- ${CC} -E -I subdir skip001.c | cmp - ${.CURDIR}/skip001.out
+ @echo skip001.c
+ ${CC} -E -I ${.CURDIR}/subdir ${.CURDIR}/skip001.c | cmp - ${.CURDIR}/skip001.out
+
+.include "bsd.regress.mk"
diff --git a/regress/usr.bin/pcc/cc/cpp/skip001.out b/regress/usr.bin/pcc/cc/cpp/skip001.out
index 884d5c252f3..be1d0e0d1af 100644
--- a/regress/usr.bin/pcc/cc/cpp/skip001.out
+++ b/regress/usr.bin/pcc/cc/cpp/skip001.out
@@ -1,4 +1,4 @@
-# 1 "skip001.c"
+# 1 "/usr/src/regress/usr.bin/pcc/cc/cpp/skip001.c"
@@ -7,10 +7,10 @@
-# 1 "skip001.c"
+# 1 "/usr/src/regress/usr.bin/pcc/cc/cpp/skip001.c"
-# 1 "subdir/include.h"
+# 1 "/usr/src/regress/usr.bin/pcc/cc/cpp/subdir/include.h"
line from include.h
-# 3 "skip001.c"
+# 3 "/usr/src/regress/usr.bin/pcc/cc/cpp/skip001.c"