17 lines
397 B
Bash
Executable File
17 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# without this, when OpenShift has LC_CTYPE=C.UTF-8, some tests fail
|
|
export LC_CTYPE=''
|
|
|
|
cd source/ && \
|
|
./configure --disable-rpath --prefix=/tmp/bogofilter && \
|
|
make && \
|
|
cd src/tests/ && \
|
|
make check && \
|
|
cd ../../ && \
|
|
patch -p1 <../builtin-tests.patch && \
|
|
cd src/ && \
|
|
rm ./bogo*.o ./bf*.o bogofilter bogolexer bogotune bogoupgrade bogoutil && \
|
|
cd tests/ && \
|
|
make check-TESTS
|