1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Update docs/tutorials/add-runtime.md

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Bradley Schofield 2021-10-08 09:13:31 +01:00 committed by GitHub
parent 792159de9a
commit fff4321cf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ The first section changes the permissions of your script so you can execute it,
NOTE: If you ever want to repackage your script you can simply run: `./tests/resources/package-LANGUAGE_NAME.sh` in the root of the `php-runtimes` project since you don't have to change permissions more than once.
### 5.3 Adding your runtime to the main testing script
Now you have created your test execution script and have packaged it up for your runtime to execute you can now add it to the main testing script. Go ahead and open up the `./tests/Runtimes/RuntimesTest.php` file and find the part where we are defining `$this->tests` as of the time of writing this tutorial this is on line 27.
Now you have created your test execution script and have packaged it up for your runtime to execute you can now add it to the main testing script. Go ahead and open up the `./tests/Runtimes/RuntimesTest.php` file and find the part where we are defining `$this->tests`. As of the time of writing this tutorial this is on `line 27`.
Once you have find this go ahead and add your own entry into this array like so:
```php