Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
osie
Commits
dfb839c5
Commit
dfb839c5
authored
Mar 26, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs.
parent
c4f1417b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
tests/unit_tests/README.md
tests/unit_tests/README.md
+22
-3
No files found.
tests/unit_tests/README.md
View file @
dfb839c5
...
@@ -8,18 +8,37 @@ Criterion: https://github.com/Snaipe/Criterion
...
@@ -8,18 +8,37 @@ Criterion: https://github.com/Snaipe/Criterion
apt-get install libcriterion-dev
apt-get install libcriterion-dev
## Compile open62541
```
ivan@t580:~$ git clone https://github.com/open62541/open62541.git
ivan@t580:~$ cd open62541/
ivan@t580:~/open62541$ git checkout v1.3.3
ivan@t580:~/open62541$ git submodule update --init --recursive
ivan@t580:~/open62541$ mkdir build && cd build
ivan@t580:~/open62541/build$ cmake -DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUA_NAMESPACE_ZERO=REDUCED \
-DUA_ENABLE_AMALGAMATION=OFF \
-DUA_ENABLE_PUBSUB=ON \
..
ivan@t580:~/open62541/build$ make -j 7
ivan@t580:~/open62541/build$ sudo make install
```
## Compile
## Compile
```
```
make all
ivan@t580:~/repos/nexedi/osie/tests/unit_tests$
make all
```
```
## Execute Tests
## Execute Tests
For
`test_common`
to execute:
For
`test_common`
to execute:
```
```
./build/test_common
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$ export LD_LIBRARY_PATH=/usr/local/lib
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$ /test_common
```
```
For
`test_common`
to execute and get a
`tap`
conform output execute:
For
`test_common`
to execute and get a
`tap`
conform output execute:
```
```
./build
/test_common --tap=test.tap
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$
/test_common --tap=test.tap
```
```
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