mirror of
https://github.com/boostorg/build.git
synced 2026-02-01 20:32:17 +00:00
22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
import testing ;
|
|
|
|
# A number of tests which should succeed
|
|
compile a.cpp ;
|
|
compile-fail b.cpp ;
|
|
link-fail a.cpp : : link-no ;
|
|
link c.cpp : : link-yes ;
|
|
run c.cpp : : : : run-yes ;
|
|
run-fail c.cpp : : : <define>RESULTCODE=1 : run-no ;
|
|
|
|
# some tests which should fail
|
|
|
|
compile-fail a.cpp : : fail-compile-no ;
|
|
compile b.cpp : : fail-compile-yes ;
|
|
link a.cpp : : fail-link-yes ;
|
|
link-fail c.cpp : : fail-link-no ;
|
|
run-fail c.cpp : : : : fail-run-no ;
|
|
run c.cpp : : : <define>RESULTCODE=1 : fail-run-yes ;
|
|
|
|
# Make sure we still fail if a dependency of an expected-failure test
|
|
# fails.
|
|
link-fail b.cpp : : fail-link-no-dependency ; |