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

Get FFMpeg to run the FATE suite on the server and our laptops #14

Closed
andymeneely opened this issue Aug 13, 2014 · 5 comments
Closed

Get FFMpeg to run the FATE suite on the server and our laptops #14

andymeneely opened this issue Aug 13, 2014 · 5 comments

Comments

@andymeneely
Copy link
Owner

We need to clone, configure, compile, and run the fate suite. Try to get the coverage data too.

@andymeneely
Copy link
Owner Author

We got this working a while ago. Have @megakevin and @nuthanmunaiah gotten this to work with getting gprof data out? We should document how we do this, or write a script for it.

@megakevin
Copy link
Collaborator

I did get this to run.

This is the diff on the changes to FFMpeg's configure file:

axmvse@archeology:~/ffmpeg/ffmpeg (master *%)$ git diff
diff --git a/configure b/configure
index 7691742..43567c9 100755
--- a/configure
+++ b/configure
@@ -3017,8 +3017,8 @@ case "$toolchain" in
TMPDIR=.
;;
gcov)

  •    add_cflags  -fprofile-arcs -ftest-coverage
    
  •    add_ldflags -fprofile-arcs -ftest-coverage
    
  •    add_cflags  -fprofile-arcs -ftest-coverage -g -pg
    
  •    add_ldflags -fprofile-arcs -ftest-coverage -pg
    
    ;;
    hardened)
    add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all

To compile FFMpeg and execute the FATE suite run:

./configure --samples=fate-suite/ --toolchain=gcov
make fate-rsync
make fate

I figure this is not the ideal place for this documentation. Where do you think we should we put this? In the repo itself? Maybe we can create a directory exclusively for documentation.

@megakevin megakevin reopened this Sep 16, 2014
@nuthanmunaiah
Copy link
Collaborator

Created a HOW TO Wiki page to document instances like this.

@andymeneely
Copy link
Owner Author

Sweet!! thanks.

@nuthanmunaiah
Copy link
Collaborator

Closing this issue as we have a documented way of doing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants