mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-10923 Configure should fail when Python fails.
This commit is contained in:
parent
588210417c
commit
06a8de0f0a
2 changed files with 12 additions and 0 deletions
icu4c/source
6
icu4c/source/configure
vendored
6
icu4c/source/configure
vendored
|
@ -9134,12 +9134,18 @@ else
|
|||
--in_dir "$srcdir/data" \
|
||||
--filter_file "$ICU_DATA_FILTER_FILE" \
|
||||
> data/rules.mk
|
||||
if test "$?" != "0"; then
|
||||
as_fn_error $? "Python failed to run; see above error." "$LINENO" 5
|
||||
fi
|
||||
echo "Spawning Python to generate test/testdata/rules.mk..."
|
||||
PYTHONPATH="$srcdir/test/testdata:$srcdir/data" $PYTHON -m buildtool \
|
||||
--mode gnumake \
|
||||
--seqmode parallel \
|
||||
--in_dir "$srcdir/test/testdata" \
|
||||
> test/testdata/rules.mk
|
||||
if test "$?" != "0"; then
|
||||
as_fn_error $? "Python failed to run; see above error." "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
|
@ -1398,12 +1398,18 @@ else
|
|||
--in_dir "$srcdir/data" \
|
||||
--filter_file "$ICU_DATA_FILTER_FILE" \
|
||||
> data/rules.mk
|
||||
if test "$?" != "0"; then
|
||||
AC_MSG_ERROR(Python failed to run; see above error.)
|
||||
fi
|
||||
echo "Spawning Python to generate test/testdata/rules.mk..."
|
||||
PYTHONPATH="$srcdir/test/testdata:$srcdir/data" $PYTHON -m buildtool \
|
||||
--mode gnumake \
|
||||
--seqmode parallel \
|
||||
--in_dir "$srcdir/test/testdata" \
|
||||
> test/testdata/rules.mk
|
||||
if test "$?" != "0"; then
|
||||
AC_MSG_ERROR(Python failed to run; see above error.)
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
Loading…
Add table
Reference in a new issue