summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pcc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-10-05 16:54:58 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-10-05 16:54:58 +0000
commit2fb186a8296a93f2674787b588bc7314d2a73eb1 (patch)
tree6a01bf6803c44c52d12a8ae98401cf13bb6c6405 /regress/usr.bin/pcc
parent267064dab7805d1460e9a423dd0374c1deb9369a (diff)
work in obj dir
Diffstat (limited to 'regress/usr.bin/pcc')
-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"