[LU-3699] commit "LU-1606 api: compile and build lustreapi test" introduce a wrong test Created: 05/Aug/13 Updated: 05/Feb/15 Resolved: 05/Feb/15 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexey Lyashkov | Assignee: | Richard Henwood (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
any |
||
| Severity: | 3 |
| Rank (Obsolete): | 9546 |
| Description |
|
http://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=4a3a9c5be5732d448c3c2d255b5b779918442f5d +test_74() { # LU-1606
+ for TESTPROG in $LUSTRE_TESTS_API_DIR/*.c; do
+ gcc -Wall -Werror $LUSTRE_TESTS_API_DIR/simple_test.c \
+ -I$LUSTRE/include \
+ -L$LUSTRE/utils -llustreapi ||
+ error "client api broken"
+ done
+ cleanup || return $?
+}
+run_test 74 "Lustre client api program can compile and link"
but that code developed to compile all tests in TESTS_API_DIR, but compile just a simple_test only. please fix it. |
| Comments |
| Comment by Alexey Lyashkov [ 05/Aug/13 ] |
|
one more bug. did you really think test directory always writable? why $TMP dir don't used to store output result? |
| Comment by Richard Henwood (Inactive) [ 05/Feb/15 ] |
|
18 months have passed and this isn't a high enough priority for me to keep open. Closing it as Won't Fix. |