Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
2f38aa4f
Commit
2f38aa4f
authored
Jun 11, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for svn fetch with revision.
parent
d647d312
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
Manifest.py
testsuite/072svn_fetch_rev/Manifest.py
+9
-0
svn
testsuite/linux_fakebin/svn
+2
-0
test_all.py
testsuite/test_all.py
+5
-0
No files found.
testsuite/072svn_fetch_rev/Manifest.py
0 → 100644
View file @
2f38aa4f
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
fetchto
=
"ipcores"
files
=
[
"../files/gate.vhdl"
]
modules
=
{
"svn"
:
"http://test.org:tester/module1@r1616"
}
testsuite/linux_fakebin/svn
View file @
2f38aa4f
...
...
@@ -12,6 +12,8 @@ if sys.argv[1] == 'checkout':
# Get the basename of the module
name
=
sys
.
argv
[
2
]
name
=
name
[
name
.
rfind
(
'/'
)
+
1
:]
if
name
.
find
(
'@'
)
>=
0
:
name
=
name
[:
name
.
find
(
'@'
)]
assert
name
==
sys
.
argv
[
3
]
modpath
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
,
'modules'
,
name
)
if
os
.
path
.
exists
(
name
):
...
...
testsuite/test_all.py
View file @
2f38aa4f
...
...
@@ -197,6 +197,11 @@ def test_svn_fetch():
hdlmake
.
__main__
.
hdlmake
([
'list-mods'
,
'--with-files'
])
shutil
.
rmtree
(
'ipcores'
)
def
test_svn_fetch_rev
():
with
Config
(
path
=
"072svn_fetch_rev"
)
as
_
:
hdlmake
.
__main__
.
hdlmake
([
'fetch'
])
shutil
.
rmtree
(
'ipcores'
)
def
test_gitsm_fetch
():
with
Config
(
path
=
"022gitsm_fetch"
)
as
_
:
hdlmake
.
__main__
.
hdlmake
([
'fetch'
])
...
...
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