Skip to content

Commit

Permalink
committing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Filteau <[email protected]>
  • Loading branch information
jordanfilteau1995 committed Jul 19, 2024
1 parent 7c64dda commit e0373ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions tests/buildloggingtest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
c89 -D_OPEN_THREADS -D_XOPEN_SOURCE=600 -DAPF_AUTHORIZED=0 -DNOIBMHTTP \
"-Wa,goff" "-Wc,langlvl(EXTC99),float(HEX),agg,list(),so(),search(),\
goff,xref,gonum,roconst,gonum,asm,asmlib('SYS1.MACLIB'),asmlib('CEE.SCEEMAC'),LP64" "-Wl,lp64,xplink" \
-I ../h \
-o loggingtest \
./loggingtest.c \
../c/utils.c \
../c/logging.c \
../c/alloc.c \
../c/collections.c \
../c/zos.c \
../c/timeutls.c \
../c/le.c \
../c/scheduling.c \
../c/recovery.c

3 changes: 2 additions & 1 deletion tests/loggingtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
* Test that logging is functional with and without new helper macros. Prove backwards compatibility.
*/
void main() {
LoggingContext *context = makeLoggingContext();
LoggingContext *context = NULL;
//LoggingContext *context = makeLoggingContext();
logConfigureStandardDestinations(context);
logConfigureComponent(context, LOG_COMP_DATASERVICE, "DATASERVICE", LOG_DEST_PRINTF_STDOUT, ZOWE_LOG_INFO);

Expand Down

0 comments on commit e0373ea

Please sign in to comment.