-
Notifications
You must be signed in to change notification settings - Fork 0
/
pruebas.ps1
28 lines (23 loc) · 897 Bytes
/
pruebas.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-License-Identifier: MPL-2.0-no-copyleft-exception
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v.
# 2.0. If a copy of the MPL was not distributed with this file, You can obtain one
# at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as defined by
# the Mozilla Public License, v. 2.0.
#
# Copyright © 2021 Eduardo Garre Muñoz
rm -ErrorAction SilentlyContinue *.o
rm -ErrorAction SilentlyContinue *.exe
echo "[33m" "Pruebas de Construcción" "[0m"
.\proyecto\ñ.exe .\pruebas\constructor\*.ñ -s pruebas -O1
.\pruebas.exe
rm -ErrorAction SilentlyContinue *.o
rm -ErrorAction SilentlyContinue *.exe
echo "[33m" "Pruebas de Interpretación" "[0m"
Get-ChildItem ".\pruebas\intérprete" -Filter *.ñ |
Foreach-Object {
$archivoPrueba = $_.FullName
.\proyecto\ñ.exe $archivoPrueba -i
}