-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove lit #305
Remove lit #305
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
# libavformat | ||
RUN: sh -c "for hdr in avformat.h avio.h; do %ia2_generate_checks $(pkg-config --variable includedir libavformat)/libavformat/$hdr %S/include %T/$hdr; done" | ||
RUN: ia2-rewriter --output-header %T/fn_ptr_ia2_avformat.h %T/wrapper.c %T/avformat.h %T/avio.h -- -I%resource_dir -I%ia2_include | ||
|
||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/avformat.h | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/avio.h | ||
|
||
# libavutil | ||
RUN: sh -c "for hdr in dict.h version.h macros.h common.h attributes.h mem.h avutil.h rational.h mathematics.h intfloat.h error.h log.h pixfmt.h; do %ia2_generate_checks $(pkg-config --variable includedir libavutil)/libavutil/$hdr %S/include %T/$hdr; done" | ||
RUN: ia2-rewriter --output-header %T/fn_ptr_ia2_avutil.h %T/wrapper.c %T/dict.h %T/version.h %T/macros.h %T/common.h %T/attributes.h %T/mem.h %T/avutil.h %T/rational.h %T/mathematics.h %T/intfloat.h %T/error.h %T/log.h %T/pixfmt.h -- -I%resource_dir -I%ia2_include | ||
|
||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/dict.h | ||
# version.h has only #defines, so it doesn't have anything we would CHECK | ||
# macros.h has only #defines, so it doesn't have anything we would CHECK | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/common.h | ||
# attributes.h has only #defines, so it doesn't have anything we would CHECK | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/mem.h | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/avutil.h | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/rational.h | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/mathematics.h | ||
# intfloat.h has only #defines and "static inline" functions, so it doesn't have anything we would CHECK for now | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/error.h | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/log.h | ||
# pixfmt.h has only #defines and enums, so it doesn't have anything we would CHECK |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#pragma once | ||
#include "types.h" | ||
|
||
// LINKARGS: --wrap=unwrap_or | ||
int unwrap_or(Option opt, int default_value); |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +0,0 @@ | ||
RUN: sh -c "%ia2_generate_checks $(pkg-config --variable includedir libusb-1.0)/libusb-1.0/libusb.h %S/include %T/libusb.h" | ||
RUN: ia2-rewriter --output-header %T/fn_ptr_ia2.h %T/wrapper.c %T/libusb.h -- -I%resource_dir -I%ia2_include | ||
RUN: cat %T/wrapper.c.args | FileCheck --check-prefix=LINKARGS %T/libusb.h | ||
RUN: cat %T/libusb.h | sed 's/^.*CHECK.*$//' | FileCheck --check-prefix 'TYPEDEF-CHECK' %T/libusb.h | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check-ia2 works without these lines but nginx build seems to need these