Merge lp://qastaging/~vibhavp/ubuntu/raring/ncurses/add-autopkgtest into lp://qastaging/ubuntu/raring/ncurses

Proposed by Vibhav Pant
Status: Merged
Merged at revision: 49
Proposed branch: lp://qastaging/~vibhavp/ubuntu/raring/ncurses/add-autopkgtest
Merge into: lp://qastaging/ubuntu/raring/ncurses
Diff against target: 131 lines (+101/-0)
4 files modified
debian/changelog (+6/-0)
debian/control (+1/-0)
debian/tests/build (+92/-0)
debian/tests/control (+2/-0)
To merge this branch: bzr merge lp://qastaging/~vibhavp/ubuntu/raring/ncurses/add-autopkgtest
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Ubuntu branches Pending
Review via email: mp+147038@code.qastaging.launchpad.net
To post a comment you must log in.
50. By Vibhav Pant

Fix debian/tests/build

Revision history for this message
Martin Pitt (pitti) wrote :

When I apply this, I get

$ debian/tests/build
--cflaglibs: unknown option
/tmp/ccdk3mg3.o: In function `test_printw_functions':
curses_test.c:(.text+0x1e): undefined reference to `wprintw'
curses_test.c:(.text+0x48): undefined reference to `wrefresh'
curses_test.c:(.text+0xaf): undefined reference to `mvwprintw'
curses_test.c:(.text+0xd9): undefined reference to `wrefresh'
/tmp/ccdk3mg3.o: In function `test_input_functions':
curses_test.c:(.text+0xf3): undefined reference to `wgetch'
curses_test.c:(.text+0x11d): undefined reference to `wrefresh'
/tmp/ccdk3mg3.o: In function `test_vwprintw':
curses_test.c:(.text+0x1c5): undefined reference to `vwprintw'
curses_test.c:(.text+0x1f2): undefined reference to `wrefresh'
/tmp/ccdk3mg3.o: In function `test_addch_functions':
curses_test.c:(.text+0x21a): undefined reference to `waddch'
curses_test.c:(.text+0x253): undefined reference to `waddch'
curses_test.c:(.text+0x27d): undefined reference to `wrefresh'
/tmp/ccdk3mg3.o: In function `test_delete_and_exit_functions':
curses_test.c:(.text+0x297): undefined reference to `delwin'
curses_test.c:(.text+0x2ba): undefined reference to `endwin'
/tmp/ccdk3mg3.o: In function `main':
curses_test.c:(.text+0x2e7): undefined reference to `initscr'
collect2: Fehler: ld gab 1 als Ende-Status zurück

I fixed that to "--cflags --libs", and it works fine now. Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: