Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
c6be9d1b
Unverified
Commit
c6be9d1b
authored
Mar 23, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2341 Added tags for older commits
parent
f6618dc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
testw.py
testw.py
+59
-0
No files found.
testw.py
0 → 100755
View file @
c6be9d1b
#!/usr/bin/env python3
# Copyright (C) 2019-Present SKALE Labs
#
# This file is part of sgxwallet.
#
# sgxwallet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# sgxwallet is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
#
# @file docker_test.py
# @author Stan Kladko
# @date 2020
#
import
sys
,
getpass
,
os
,
subprocess
,
socket
,
time
username
=
getpass
.
getuser
()
assert
username
==
"root"
topDir
=
os
.
getcwd
()
+
"/sgxwallet"
print
(
"Starting build push"
)
print
(
"Top directory is:"
+
topDir
)
testList
=
[
"[bls-key-encrypt]"
,
"[dkg-gen]"
,
"[dkg-encr_sshares]"
,
"[dkg-verify]"
,
"[ecdsa_test]"
,
"[test_test]"
,
"[get_pub_ecdsa_key_test]"
,
"[bls_dkg]"
,
"[api_test]"
,
"[getServerStatus_test]"
,
"[many_threads_test]"
,
"[ecdsa_api_test]"
,
"[dkg_api_test]"
,
"[is_poly_test]"
,
"[bls_sign]"
,
"[AES-encrypt-decrypt]"
]
for
t
in
testList
:
print
(
"Starting "
+
t
)
assert
subprocess
.
call
([
"./testw"
,
t
])
==
0
print
(
"Ending "
+
t
)
Write
Preview
Markdown
is supported
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