mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 23:36:43 +00:00
b2c12b34fe
* Added Gsetup. Added Python tests for github actions. * Add python requirments for pytests #1238 Co-authored-by: Scott Fennell <spfennell@gmail.com>
16 lines
424 B
Python
Executable File
16 lines
424 B
Python
Executable File
#! /home/cherpin/gsetup2/venv/bin/python3.8
|
|
#used for test cases
|
|
import argparse
|
|
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("--hello", help=f"print hello world.", action="store_true")
|
|
args = parser.parse_args()
|
|
if args.hello:
|
|
print("Hello World!")
|
|
else:
|
|
import os
|
|
print(os.environ.get("CC"))
|
|
print(os.environ.get("CFLAGS"))
|
|
print(os.environ.get("CPP"))
|
|
print(os.environ.get("CPPFLAGS"))
|