Skip to content
Snippets Groups Projects
Commit 4e4f7fcc authored by Aaron Viets's avatar Aaron Viets
Browse files

Testing lal_pacer in CI

parent b76eeda1
No related branches found
No related tags found
1 merge request!1CI development
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -127,6 +127,7 @@ test: ...@@ -127,6 +127,7 @@ test:
# install test requirements # install test requirements
- dnf -y -q install python3-pytest - dnf -y -q install python3-pytest
- dnf -y -q install framel - dnf -y -q install framel
- dnf -y -q install git-all
script: script:
# install our packages # install our packages
- dnf -y -q install gstlal-calibration - dnf -y -q install gstlal-calibration
......
...@@ -167,6 +167,7 @@ static GstFlowReturn transform_ip(GstBaseTransform *trans, GstBuffer *buf) { ...@@ -167,6 +167,7 @@ static GstFlowReturn transform_ip(GstBaseTransform *trans, GstBuffer *buf) {
time_to_push_buffer = element->real_t0 + (stream_time - element->t0) / element->speed; time_to_push_buffer = element->real_t0 + (stream_time - element->t0) / element->speed;
wait_time = time_to_push_buffer > current_time ? time_to_push_buffer - current_time : 0; wait_time = time_to_push_buffer > current_time ? time_to_push_buffer - current_time : 0;
g_print("real_t0=%lu\nt0=%lu\ncurrent_time=%lu\nstream_time=%lu\ntime_to_push_buffer=%lu\nwait_time=%lu", element->real_t0, element->t0, current_time, stream_time, time_to_push_buffer, wait_time);
sleep(wait_time / 1000000000.0); sleep(wait_time / 1000000000.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment