Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrumando o issue #1 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

PedroPertusi
Copy link

@PedroPertusi PedroPertusi commented Oct 19, 2022

fix #1
Essa solução foi a que encontramos, pois permite rodar o nasm_test tanto quando dentro do diretorio sw/nasm/ quanto fora (necessario para o github actions .yml)
Essa solucao foi encontrada pelos alunos:
Pedro Vaz de Moraes Pertusi
Eduardo Mendes Vaz
se for dar pontos extras por favor dividir igualmente

@PedroPertusi PedroPertusi changed the title arrumando nasm_test fixes #1 Oct 19, 2022
@PedroPertusi PedroPertusi changed the title fixes #1 Arrumando o issue #1 Oct 19, 2022
@@ -48,7 +48,11 @@ def vm_test(f, time=100000):
def nasm_test(nasm, ram, test, time=1000):
name = getName(nasm)
hack = name + ".hack"
nasm_to_hack(nasm, hack)
path_atual = os.getcwd()
if path_atual[-8:] == '/sw/nasm':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eu não gostei da solução, pq ela continua sendo especifica. Não teria outro jeito? Eu acho que temos que mexer no pytest e não aqui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

O init do bits nao permite com que o components.yml do git funcione
2 participants