Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
8672311d
Commit
8672311d
authored
Dec 03, 2015
by
Richard van der Hoff
Browse files
Give a clearer error if the library hasn't been built
parent
a715fc7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
View file @
8672311d
...
...
@@ -13,12 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
subprocess
import
glob
import
os
import
subprocess
import
sys
if
not
os
.
path
.
exists
(
"build"
):
os
.
mkdir
(
"build"
)
if
not
os
.
path
.
exists
(
"build/libolm.so"
):
print
>>
sys
.
stderr
,
\
"libolm has not been built. Run ./build_shared_library.py first."
exit
(
1
)
test_files
=
glob
.
glob
(
"tests/test_*.cpp"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment