Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115890901
D44548.id136308.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1005 B
Referenced Files
None
Subscribers
None
D44548.id136308.diff
View Options
Index: usr.bin/lorder/tests/lorder_test.sh
===================================================================
--- usr.bin/lorder/tests/lorder_test.sh
+++ usr.bin/lorder/tests/lorder_test.sh
@@ -18,6 +18,8 @@
atf_set descr "One argument"
}
onearg_body() {
+ atf_require_prog cc
+
echo "void a(void) { }" >a.c
cc -o a.o -c a.c
echo "a.o a.o" >output
@@ -30,6 +32,8 @@
atf_set descr "One argument"
}
dashdash_body() {
+ atf_require_prog cc
+
echo "void a(void) { }" >a.c
cc -o a.o -c a.c
echo "a.o a.o" >output
@@ -61,6 +65,8 @@
atf_set descr "Order objects"
}
objects_body() {
+ atf_require_prog cc
+
echo "void a(void) { }" >a.c
echo "void a(void); void b(void) { a(); }" >b.c
echo "void b(void); void c(void) { b(); }" >c.c
@@ -79,6 +85,9 @@
atf_set descr "Order archives"
}
archives_body() {
+ atf_require_prog cc
+ atf_require_prog ar
+
echo "void a(void) { }" >a.c
echo "void a(void); void b(void) { a(); }" >b.c
echo "void b(void); void c(void) { b(); }" >c.c
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 2:03 AM (12 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17869855
Default Alt Text
D44548.id136308.diff (1005 B)
Attached To
Mode
D44548: lorder: skip tests if cc not available
Attached
Detach File
Event Timeline
Log In to Comment