Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Don't enable HW accel as side-effect #557

Merged
merged 1 commit into from Aug 21, 2020

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Aug 21, 2020

The Settings test attempts to test the class by changing settings variables and reading them back again. Problem is, that affects the REST of the unit tests.

So instead of changing HARDWARE_ACCEL (accidentally enabling HW accel and causing test failures), we'll diddle something more innocuous, like OMP_THREADS.

The Settings test attempts to test the class by changing settings
variables and reading them back again. Problem is, that affects
the REST of the unit tests. So instead of enabling HW accel and
causing crashes, we'll diddle something innocuous, like OMP_THREADS.
@ferdnyc
Copy link
Contributor Author

ferdnyc commented Aug 21, 2020

This is actively preventing libopenshot from being packaged for Fedora 33, so I'm planning to merge this ASAP so I can apply the commit to our 0.2.5 build tree.

@codecov
Copy link

codecov bot commented Aug 21, 2020

Codecov Report

Merging #557 into develop will decrease coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #557      +/-   ##
===========================================
- Coverage    48.77%   48.69%   -0.08%     
===========================================
  Files          129      129              
  Lines        10036    10036              
===========================================
- Hits          4895     4887       -8     
- Misses        5141     5149       +8     
Impacted Files Coverage Δ
tests/Settings_Tests.cpp 100.00% <100.00%> (ø)
src/FFmpegReader.cpp 68.05% <0.00%> (-0.75%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d121f9d...948ae9c. Read the comment docs.

@ferdnyc ferdnyc merged commit f71051e into OpenShot:develop Aug 21, 2020
@ferdnyc ferdnyc deleted the fix-settings-tests branch August 21, 2020 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant