Skip to content

Commit

Permalink
On Windows, disable tests that require file reads.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Oct 28, 2019
1 parent 5213881 commit 9e24b94
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/test/AbInitioTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ using namespace atm;
*/
int main()
{

#ifdef HAVE_WINDOWS
fprintf(stdout, "Skipping test under Windows.\n");
return 0;
#endif
cout << " AbInitioTest: STEP 1: CREATES REFERENCE ATMOSPHERIC PROFILE CORRESTONDING TO ATMOSPHERIC CONDITIONS AT THE GROUND:" << endl;
cout << " AbInitioTest: Atmosphere Type: TROPICAL" << endl;
cout << " AbInitioTest: Site Altitude: 4100 m above sea level" << endl;
Expand Down
4 changes: 4 additions & 0 deletions src/test/ApexTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ using namespace atm;

int main()
{
#ifdef HAVE_WINDOWS
fprintf(stdout, "Skipping test under Windows.\n");
return 0;
#endif
double airmastro;
double airmwvr;
double opacitycomparison;
Expand Down
5 changes: 4 additions & 1 deletion src/test/SMATest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ using namespace atm;

int main()
{

#ifdef HAVE_WINDOWS
fprintf(stdout, "Skipping test under Windows.\n");
return 0;
#endif
Frequency rff;
Frequency if1;
Frequency chansep;
Expand Down
4 changes: 4 additions & 0 deletions src/test/SkyStatusTest_TINV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ using namespace atm;

int main()
{
#ifdef HAVE_WINDOWS
fprintf(stdout, "Skipping test under Windows.\n");
return 0;
#endif
// double h_div_k=0.04799274551; // plank/boltz in un of K/GHz

vector<Temperature> v_ProfileTemperatureLevels;
Expand Down

0 comments on commit 9e24b94

Please sign in to comment.