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

Update to latest criterion version 2.2.0 #590

Merged
merged 3 commits into from
Jan 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions prov/gni/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ AC_DEFUN([FI_GNI_CONFIGURE],[
AC_MSG_RESULT([yes])
gni_CPPFLAGS="-I$with_criterion/include $gni_CPPFLAGS"
if test -d "$with_criterion/lib"; then
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib $gni_LDFLAGS"
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib -Wl,-rpath=$with_criterion/lib $gni_LDFLAGS"
have_criterion=true
elif test -d "$with_criterion/lib64"; then
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib64 $gni_LDFLAGS"
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib64 -Wl,-rpath=$with_criterion/lib64 $gni_LDFLAGS"
have_criterion=true
else
have_criterion=false
Expand Down
2 changes: 1 addition & 1 deletion prov/gni/test/allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Test(mbox_creation, alloc_mbox)
* Write our test strings and make sure they're equal.
*/
memcpy(mail_box->base, test_string, sizeof(test_string));
cr_expect_strings_eq((char *) mail_box->base, test_string);
cr_expect_str_eq((char *) mail_box->base, test_string);

/*
* Mailboxes haven't been returned so destroy will return -FI_EBUSY.
Expand Down
4 changes: 2 additions & 2 deletions prov/gni/test/pmi_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

static int pmi_initialized;

ReportHook(PRE_ALL)()
ReportHook(PRE_ALL)(struct criterion_test_set *test)
{
int rc, spawned;

Expand All @@ -50,7 +50,7 @@ ReportHook(PRE_ALL)()
pmi_initialized = 1;
}

ReportHook(POST_ALL)()
ReportHook(POST_ALL)(struct criterion_global_stats *stats)
{
if (pmi_initialized == 1)
PMI_Finalize();
Expand Down
2 changes: 1 addition & 1 deletion prov/gni/test/run_gnitest
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ else
fi

# pass all command line args to gnitest
$launcher $args $gnitest_bin "$@"
$launcher $args $gnitest_bin -j1 "$@"