]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/test/core_syntax_error_exit_status.py
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / test / core_syntax_error_exit_status.py
CommitLineData
f67539c2
TL
1#!/usr/bin/python
2
3# Copyright (C) Mateusz Loskot 2020.
4# Distributed under the Boost Software License, Version 1.0. (See
1e59de90
TL
5# accompanying file LICENSE.txt or copy at
6# https://www.bfgroup.xyz/b2/LICENSE.txt)
f67539c2
TL
7
8# Test that Jam syntax error results in non-zero exit status
9
10import BoostBuild
11
12# Create a temporary working directory.
13t = BoostBuild.Tester()
14
15# Create the needed files.
16t.write("jamroot.jam", """
17exe hello : hello.cpp
18
19""")
20
21t.run_build_system(status=1)
22
23t.cleanup()