Skip to content
Snippets Groups Projects
Commit d65e71da authored by Moe Jette's avatar Moe Jette
Browse files

Assorted mods for v0.3.

parent 4285be97
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,4 @@ TESTS = \
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common
LDADD = $(top_builddir)/src/common/libcommon.la \
$(top_builddir)/src/common/libhostlist.la \
$(top_builddir)/src/api/libslurm.la
......@@ -14,7 +14,7 @@ main (int argc, char *argv[])
int error_code;
job_info_msg_t * job_info_msg_ptr = NULL;
error_code = slurm_load_jobs (last_update_time, &job_info_msg_ptr);
error_code = slurm_load_jobs (last_update_time, &job_info_msg_ptr, 1);
if (error_code) {
slurm_perror ("slurm_load_jobs");
return (error_code);
......
......@@ -14,7 +14,7 @@ main (int argc, char *argv[])
int error_code, i;
node_info_msg_t * node_info_msg_ptr = NULL;
error_code = slurm_load_node (last_update_time, &node_info_msg_ptr);
error_code = slurm_load_node (last_update_time, &node_info_msg_ptr, 1);
if (error_code) {
slurm_perror ("last_update_time");
return (error_code);
......
......@@ -14,7 +14,7 @@ main (int argc, char *argv[])
int error_code ;
partition_info_msg_t * part_info_ptr = NULL;
error_code = slurm_load_partitions (last_update_time, &part_info_ptr);
error_code = slurm_load_partitions (last_update_time, &part_info_ptr, 1);
if (error_code) {
slurm_perror ("slurm_load_partitions");
return (error_code);
......@@ -24,7 +24,7 @@ main (int argc, char *argv[])
(time_t) part_info_ptr->last_update,
part_info_ptr->record_count);
slurm_print_partition_info_msg ( stdout, part_info_ptr, 0 );
slurm_print_partition_info_msg (stdout, part_info_ptr, 0);
slurm_free_partition_info_msg (part_info_ptr);
return (0);
}
......@@ -2,12 +2,15 @@ AUTOMAKE_OPTIONS = foreign
if HAVE_ELAN
elan_testprogs = runqsw
elan_lib = $(top_builddir)/src/plugins/switch/elan/switch_elan.la
else
elan_testprogs =
elan_lib =
endif
INCLUDES = -I$(top_srcdir)
LDADD = $(top_builddir)/src/common/libcommon.la
LDADD = $(top_builddir)/src/common/libcommon.la \
$(elan_lib)
check_PROGRAMS = \
$(TESTS) \
......
......@@ -5,7 +5,6 @@
#include <sys/time.h>
#include <testsuite/dejagnu.h>
/* Test for failure:
*/
#define TEST(_tst, _msg) do { \
......@@ -97,7 +96,7 @@ main(int argc, char *argv[])
bit_not(bs1);
TEST(!bit_test(bs1, 100), "not");
TEST(!bit_test(bs1, 12), "not");
TEST(bit_test(bs1, 12), "not");
bit_free(bs1);
bit_free(bs2);
......
......@@ -15,11 +15,9 @@
#include <string.h>
#include <stdarg.h>
#include <src/common/bitstring.h>
#include <src/common/pack.h>
#include <src/common/qsw.h>
#include <slurm/slurm_errno.h>
#include <src/common/macros.h>
#include "src/plugins/switch/elan/qsw.h"
#include "slurm/slurm_errno.h"
#include "src/common/slurm_xlator.h"
/* Boolean option to pack/unpack jobinfo struct
* (good test for qsw pack routines)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment