Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
f278d611
Commit
f278d611
authored
Mar 02, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
12e184be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
go/neo/t/neotest
go/neo/t/neotest
+14
-7
No files found.
go/neo/t/neotest
View file @
f278d611
#!/bin/bash -e
# neotest: run tests and benchmarks against FileStorage, ZEO and various NEO/py and NEO/go clusters
# Copyright (C) 2017-202
0
Nexedi SA and Contributors.
# Copyright (C) 2017-202
1
Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -141,7 +141,10 @@ $@
# ---- go/py unit tests ----
cmd_test-go
()
{
go
test
-count
=
1 lab.nexedi.com/kirr/neo/go/...
# -count=1 disables tests caching
(
cd
$NEOt
go
test
-count
=
1 lab.nexedi.com/kirr/neo/go/...
# -count=1 disables tests caching
)
}
cmd_test-py
()
{
...
...
@@ -1503,18 +1506,22 @@ cpustat) f=( );;
esac
NEOt
=
$(
cd
`
dirname
$0
`
&&
pwd
)
for
flag
in
${
f
[*]
}
;
do
case
"
$flag
"
in
build
)
# make sure tzodb*, tcpu* and zgenprod are on PATH (because we could be invoked from another dir)
X
=
$(
cd
`
dirname
$0
`
&&
pwd
)
export
PATH
=
$X
:
$PATH
export
PATH
=
$NEOt
:
$PATH
# rebuild go bits
# neo/py, wendelin.core, ... - must be pip install'ed - `neotest deploy` cares about that
go
install
-v
lab.nexedi.com/kirr/neo/go/...
go build
-o
$X
/tzodb_go
$X
/tzodb.go
go build
-o
$X
/tcpu_go
$X
/tcpu.go
(
cd
$NEOt
go
install
-v
lab.nexedi.com/kirr/neo/go/...
go build
-o
tzodb_go tzodb.go
go build
-o
tcpu_go tcpu.go
)
;;
net
)
...
...
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