Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mp_gitreleaseinfo.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mp_gitreleaseinfo.sas macro
4
5 <h4> SAS Macros </h4>
6 @li mp_gitreleaseinfo.sas
7 @li mp_assert.sas
8
9**/
10
11
12%mp_gitreleaseinfo(github,sasjs/core,outlib=mylibref,mdebug=1)
13
14%mp_assert(
15 iftrue=(&syscc=0),
16 desc=mp_gitreleaseinfo runs without errors,
17 outds=work.test_results
18)
19
20data _null_;
21 set mylibref.author;
22 putlog (_all_)(=);
23 call symputx('author',login);
24run;
25
26%mp_assert(
27 iftrue=(&author=sasjsbot),
28 desc=release info extracted successfully,
29 outds=work.test_results
30)