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
kmap
xsocs
Commits
5d62bc9e
Commit
5d62bc9e
authored
Jun 11, 2020
by
Thomas Vincent
Browse files
Sync run_test.py with that of silx
parent
b2cb4050
Changes
1
Show whitespace changes
Inline
Side-by-side
run_tests.py
View file @
5d62bc9e
...
...
@@ -2,7 +2,7 @@
# coding: utf-8
# /*##########################################################################
#
# Copyright (c) 2015-201
7
European Synchrotron Radiation Facility
# Copyright (c) 2015-201
8
European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
...
...
@@ -115,7 +115,6 @@ except Exception as error:
else
:
logger
.
info
(
"Numpy %s"
,
numpy
.
version
.
version
)
try
:
import
h5py
except
Exception
as
error
:
...
...
@@ -314,10 +313,10 @@ def import_project_module(project_name, project_dir):
if
"--installed"
in
sys
.
argv
:
try
:
module
=
importer
(
project_name
)
except
ImportError
:
raise
ImportE
rror
(
"%s not installed: Cannot run tests on installed version"
%
PROJECT_NAME
)
except
Exception
:
logger
.
error
(
"Cannot run tests on installed version: %s not installed or raising e
rror
."
,
project_name
)
raise
else
:
# Use built source
build_dir
=
build_project
(
project_name
,
project_dir
)
if
build_dir
is
None
:
...
...
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