Skip to content

Commit

Permalink
Merge pull request #590 from sungeunchoi/new-criterion
Browse files Browse the repository at this point in the history
Update to latest criterion version 2.2.0
  • Loading branch information
sungeunchoi committed Jan 5, 2016
2 parents bea39b4 + da50393 commit fcfcfed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions prov/gni/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ dnl looks like we need to get rid of some white space
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 "$@"

0 comments on commit fcfcfed

Please sign in to comment.