File tree 7 files changed +39
-26
lines changed
data/test/integrationTest/config
7 files changed +39
-26
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- runs-on : ubuntu-20 .04
12
+ runs-on : ubuntu-22 .04
13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
with :
@@ -23,28 +23,28 @@ jobs:
23
23
sudo apt-get install libzmq3-dev libpcap-dev liblog4cxx-dev libblosc-dev libhdf5-dev
24
24
- name : Clone Odin-data
25
25
run : |
26
- git clone -b 1.8.0 https://github.com/odin-detector/odin-data.git
26
+ git clone -b 1.10.1 https://github.com/odin-detector/odin-data.git
27
27
- name : Build odin-data
28
28
run : |
29
- cd odin-data
29
+ cd odin-data/cpp/
30
30
echo "INSTALL_PREFIX is ${INSTALL_PREFIX}"
31
31
mkdir -p $INSTALL_PREFIX
32
32
mkdir build && cd build
33
33
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX ..
34
34
make install VERBOSE=1
35
35
env :
36
- MAKEFLAGS : " -j2 "
36
+ MAKEFLAGS : " -j4 "
37
37
- name : Run frame receiver unit tests
38
38
env :
39
39
INSTALL_PREFIX : ${{ env.INSTALL_PREFIX }}
40
40
run : |
41
- cd odin-data/build
41
+ cd odin-data/cpp/ build
42
42
bin/frameReceiverTest
43
43
- name : Run frame processor unit tests
44
44
env :
45
45
INSTALL_PREFIX : ${{ env.INSTALL_PREFIX }}
46
46
run : |
47
- cd odin-data/build
47
+ cd odin-data/cpp/ build
48
48
bin/frameProcessorTest
49
49
- name : Build hexitec-detector
50
50
run : |
@@ -55,13 +55,13 @@ jobs:
55
55
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DODINDATA_ROOT_DIR=$INSTALL_PREFIX ..
56
56
make install VERBOSE=1
57
57
env :
58
- MAKEFLAGS : " -j2 "
58
+ MAKEFLAGS : " -j4 "
59
59
- name : Run odin-data frame integration test
60
60
env :
61
61
INSTALL_PREFIX : ${{ env.INSTALL_PREFIX }}
62
62
run : |
63
63
echo "INSTALL_PREFIX is ${INSTALL_PREFIX}"
64
- cd odin-data/build
64
+ cd odin-data/cpp/ build
65
65
bin/odinDataTest --json=$INSTALL_PREFIX/test_config/hexitec2x6-average.json
66
66
echo "Python version:"
67
67
python --version
Original file line number Diff line number Diff line change 37
37
},
38
38
"receiver" :
39
39
{
40
- "json_file" : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x2-fr.json" ,
41
- "m" : " 500000000"
40
+ "config" : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x2-fr.json"
42
41
},
43
42
"processor" :
44
43
{
45
- "json_file " : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x2-fp-average.json"
44
+ "config " : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x2-fp-average.json"
46
45
},
47
46
"test" :
48
47
{
Original file line number Diff line number Diff line change 16
16
"process" : false ,
17
17
"command" : " ${INSTALL_PREFIX}\/ bin\/ frameSimulator" ,
18
18
"pos-args" : " Hexitec" ,
19
- "sleep" : 1
19
+ "sleep" : 10
20
20
},
21
21
"test" : {
22
22
"process" : false ,
28
28
"simulator" :
29
29
{
30
30
"lib-path" : " ${INSTALL_PREFIX}\/ lib" ,
31
- "frames" : " 11 " ,
31
+ "frames" : " 10 " ,
32
32
"dest-ip" : " 127.0.0.1" ,
33
33
"ports" : " 61649" ,
34
34
"pattern-path" : " ${INSTALL_PREFIX}\/ test_config\/ patterns\/ CSD_2x6_average.json" ,
35
35
"interval" : " 1" ,
36
+ "packet-gap" : 10 ,
36
37
"sensors_layout" : " 2x6"
37
38
},
38
39
"receiver" :
39
40
{
40
- "json_file " : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x6-fr.json" ,
41
- "m " : " 500000000 "
41
+ "config " : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x6-fr.json" ,
42
+ "log-config " : " ${INSTALL_PREFIX} \/ test_config \/ fr_log4cxx.xml "
42
43
},
43
44
"processor" :
44
45
{
45
- "json_file" : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x6-fp-average.json"
46
+ "config" : " ${INSTALL_PREFIX}\/ test_config\/ hexitec2x6-fp-average.json" ,
47
+ "log-config" : " ${INSTALL_PREFIX}\/ test_config\/ fp_log4cxx.xml"
46
48
},
47
49
"test" :
48
50
{
49
- "json" : " ${INSTALL_PREFIX}\/ test_config\/ test2x6-average.json"
51
+ "json" : " ${INSTALL_PREFIX}\/ test_config\/ test2x6-average.json" ,
52
+ "log-config" : " ${INSTALL_PREFIX}\/ test_config\/ fs_log4cxx.xml"
50
53
}
51
54
}
Original file line number Diff line number Diff line change 4
4
"fr_ready_cnxn" :" tcp://127.0.0.1:5001" ,
5
5
"fr_release_cnxn" :" tcp://127.0.0.1:5002"
6
6
},
7
- "meta_endpoint" :" tcp://*:5008"
7
+ "meta_endpoint" :" tcp://*:5008" ,
8
+ "frames" : 10
8
9
},
9
10
{
10
11
"plugin" : {
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
- "decoder_type" : " Hexitec" ,
4
- "decoder_path" : " ${INSTALL_PREFIX}/lib" ,
5
- "rx_ports" : " 61649" ,
6
- "decoder_config" : {
7
- "enable_packet_logging" : false ,
8
- "frame_timeout_ms" : 1000 ,
9
- "fem_port_map" : " 61649:0" ,
3
+ "frame_ready_endpoint" : " tcp://127.0.0.1:5001" ,
4
+ "frame_release_endpoint" : " tcp://127.0.0.1:5002" ,
5
+ "decoder_type" : " Hexitec" ,
6
+ "decoder_path" : " ${INSTALL_PREFIX}/lib" ,
7
+ "rx_ports" : " 61649" ,
8
+ "max_buffer_mem" : 500000000 ,
9
+ "decoder_config" : {
10
+ "enable_packet_logging" : false ,
11
+ "frame_timeout_ms" : 1000 ,
12
+ "fem_port_map" : " 61649:0" ,
10
13
"sensors_layout" : " 2x6"
11
- }
14
+ },
15
+ "frames" : 10
12
16
}
13
17
]
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments